gbox-sdk
    Preparing search index...

    Class APIConnectionError

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    error: undefined

    JSON body of the response that caused the error

    headers: undefined

    HTTP headers for the response that caused the error

    message: string
    name: string
    stack?: string
    status: undefined

    HTTP status for the response that caused the error

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

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Parameters

      • status: undefined | number
      • errorResponse: undefined | Object
      • message: undefined | string
      • headers: undefined | Headers

      Returns APIError