Class APIError

Hierarchy

  • Error
    • APIError

Constructors

Properties

cause?: unknown
error: string
errorType: string
message: string
name: string
referenceUrl: string
reportUrl: string
response: APIResponseData
stack?: string
status: number
trace: 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