Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the Gadget API client library for:


/ _|()_ __ ___ _ __ | | ___ | __ )| | ___ __ _ | | ____ _ _ __ ___ _ __ | | ___ _ | | ' _ \| '_ \| |/ _ \ | _ \| |/ _ \ / _ | | | \ / / | '_ _ | ' | |/ _
_) | | | | | | | |) | | _/ | |) | | () | (| | | |
> < (| | | | | | | |) | | / |_/||_| || || ./||_| |/||_/ _, | |//__,|| || || ./||___| || |__/ ||

Built for environment "Development" at version 107 API docs: https://docs.gadget.dev/api/simple-blog-example Edit this app here: https://simple-blog-example.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