Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the Gadget API client library for:

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

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