Class APIError

Hierarchy

  • Error
    • APIError

Constructors

  • Parameters

    • message: string
    • response: null | Response

    Returns APIError

Properties

message: string
name: string
response: null | Response
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc