Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AirtableError

Subclass of error to represent Airtable API specific errors.

Hierarchy

  • Error
    • AirtableError

Index

Constructors

constructor

  • new AirtableError(status: number, type: string, message: string): AirtableError
  • Creates an Airtable API error.

    Parameters

    • status: number

      The HTTP Status Code.

    • type: string

      The Airtable Error Type.

    • message: string

      The Airtable Error Message.

    Returns AirtableError

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Readonly status

status: number

The HTTP Status Code.

Readonly type

type: string

The Airtable API Error Type.

Optional Static prepareStackTrace

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

Optional override for formatting stack traces

see

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc