Skip to content

HttpErrorCode

Defined in: packages/agent/src/errors.ts:684

  • ErrorCode

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

Defined in: packages/agent/src/errors.ts:687

number

string

HttpHeaderField[]

string

HttpErrorCode

ErrorCode.constructor

readonly optional bodyText: string

Defined in: packages/agent/src/errors.ts:691


optional callContext: CallContext

Defined in: packages/agent/src/errors.ts:35

ErrorCode.callContext


readonly headers: HttpHeaderField[]

Defined in: packages/agent/src/errors.ts:690


readonly isCertified: boolean = false

Defined in: packages/agent/src/errors.ts:37

ErrorCode.isCertified


name: string = 'HttpErrorCode'

Defined in: packages/agent/src/errors.ts:685


optional requestContext: RequestContext

Defined in: packages/agent/src/errors.ts:34

ErrorCode.requestContext


readonly status: number

Defined in: packages/agent/src/errors.ts:688


readonly statusText: string

Defined in: packages/agent/src/errors.ts:689

toErrorMessage(): string

Defined in: packages/agent/src/errors.ts:697

string

ErrorCode.toErrorMessage


toString(): string

Defined in: packages/agent/src/errors.ts:41

string

ErrorCode.toString