Class DevOpsUnexpectedStateError

Error thrown when the DevOps API returns is in an unexpected state (i.e. 'PARKED' when 'ACTIVE' or 'PENDING' was expected).

Field

dbInfo - The complete database info, which includes the status of the database.

Field

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

Hierarchy (view full)

Constructors

Properties

The complete database info, which includes the status of the database.

expected: string[]

The expected states that were not met.

message: string
name: string
stack?: string
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