Skip to content

HttpErrorCode

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

  • ErrorCode

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

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

number

string

HttpHeaderField[]

string

HttpErrorCode

ErrorCode.constructor

readonly optional bodyText: string

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


optional callContext: CallContext

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

ErrorCode.callContext


readonly headers: HttpHeaderField[]

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


readonly isCertified: boolean = false

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

ErrorCode.isCertified


name: string = 'HttpErrorCode'

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


optional requestContext: RequestContext

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

ErrorCode.requestContext


readonly status: number

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


readonly statusText: string

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

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

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

string

ErrorCode.toString