Skip to content

HttpErrorCode

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

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

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

number

string

HttpHeaderField[]

string

HttpErrorCode

ErrorCode.constructor

readonly optional bodyText?: string

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


optional callContext?: CallContext | PollingCallContext

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

ErrorCode.callContext


readonly headers: HttpHeaderField[]

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


readonly isCertified: boolean = false

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

ErrorCode.isCertified


name: string = 'HttpErrorCode'

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


optional requestContext?: RequestContext

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

ErrorCode.requestContext


readonly status: number

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


readonly statusText: string

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


static verbosity: ErrorVerbosity = ErrorVerbosity.Normal

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

ErrorCode.verbosity

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

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

string

ErrorCode.toString