Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the Gadget API client library for:

    _ _     _                         _                                 ____

__ | () | | __ _ __ _ _ ()__ __ _ _ __ _ __ |___
/ | | |/ _ |/ |_____ / _ | | | | | /___ / ` | ' | '_ \ _____ ) | | (| | | | (| | (| |__| (| | || | |/ /_| (| | |_) | |) |___/ / _,|||_,|_,| _, |_,|/_| _,| ./| ./ |___| || |_| ||

Built for environment "Development" at version 2552 API docs: https://docs.gadget.dev/api/alida-quiz-app-2 Edit this app here: https://alida-quiz-app-2.gadget.dev/edit

Hierarchy

  • Error
    • InvalidRecordError

Index

Constructors

  • Parameters

    • message: null | string
    • validationErrors: InvalidFieldError[]
    • Optional modelApiIdentifier: string
    • Optional record: Record<string, any>

    Returns InvalidRecordError

Properties

causedByClient: boolean
code: string
message: string
modelApiIdentifier?: string

The API identifier of the model for this record which failed to validate

name: string
record?: Record<string, any>

The record that failed to validate, if available

stack?: string
statusCode: number
validationErrors: InvalidFieldError[]

A list of validation errors for each field that failed validation.

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc