Skip to content

HttpErrorCode

Defined in: packages/core/src/agent/errors.ts:744

  • ErrorCode

new HttpErrorCode(status, statusText, headers, bodyText?): HttpErrorCode

Defined in: packages/core/src/agent/errors.ts:747

number

string

HttpHeaderField[]

string

HttpErrorCode

ErrorCode.constructor

readonly optional bodyText: string

Defined in: packages/core/src/agent/errors.ts:751


optional callContext: CallContext | PollingCallContext

Defined in: packages/core/src/agent/errors.ts:45

ErrorCode.callContext


readonly headers: HttpHeaderField[]

Defined in: packages/core/src/agent/errors.ts:750


readonly isCertified: boolean = false

Defined in: packages/core/src/agent/errors.ts:47

ErrorCode.isCertified


name: string = 'HttpErrorCode'

Defined in: packages/core/src/agent/errors.ts:745


optional requestContext: RequestContext

Defined in: packages/core/src/agent/errors.ts:44

ErrorCode.requestContext


readonly status: number

Defined in: packages/core/src/agent/errors.ts:748


readonly statusText: string

Defined in: packages/core/src/agent/errors.ts:749

toErrorMessage(): string

Defined in: packages/core/src/agent/errors.ts:757

string

ErrorCode.toErrorMessage


toString(): string

Defined in: packages/core/src/agent/errors.ts:51

string

ErrorCode.toString