An error representing a response from the DevOps API that was not successful (non-2XX status code).

Field

errors - The error descriptors returned by the API to describe what went wrong.

Field

rootError - The raw axios error that was thrown.

Field

status - The HTTP status code of the response, if available.

Hierarchy (view full)

Constructors

Properties

The error descriptors returned by the API to describe what went wrong.

message: string
name: string

The "raw", errored response from the API.

stack?: string
status: number

The HTTP status code of the response, if available.

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void