HttpErrorCode
Defined in: packages/core/src/agent/errors.ts:744
Extends
Section titled “Extends”ErrorCode
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HttpErrorCode(
status,statusText,headers,bodyText?):HttpErrorCode
Defined in: packages/core/src/agent/errors.ts:747
Parameters
Section titled “Parameters”status
Section titled “status”number
statusText
Section titled “statusText”string
headers
Section titled “headers”bodyText?
Section titled “bodyText?”string
Returns
Section titled “Returns”HttpErrorCode
Overrides
Section titled “Overrides”ErrorCode.constructor
Properties
Section titled “Properties”bodyText?
Section titled “bodyText?”
readonlyoptionalbodyText:string
Defined in: packages/core/src/agent/errors.ts:751
callContext?
Section titled “callContext?”
optionalcallContext:CallContext|PollingCallContext
Defined in: packages/core/src/agent/errors.ts:45
Inherited from
Section titled “Inherited from”ErrorCode.callContext
headers
Section titled “headers”
readonlyheaders:HttpHeaderField[]
Defined in: packages/core/src/agent/errors.ts:750
isCertified
Section titled “isCertified”
readonlyisCertified:boolean=false
Defined in: packages/core/src/agent/errors.ts:47
Inherited from
Section titled “Inherited from”ErrorCode.isCertified
name:
string='HttpErrorCode'
Defined in: packages/core/src/agent/errors.ts:745
requestContext?
Section titled “requestContext?”
optionalrequestContext:RequestContext
Defined in: packages/core/src/agent/errors.ts:44
Inherited from
Section titled “Inherited from”ErrorCode.requestContext
status
Section titled “status”
readonlystatus:number
Defined in: packages/core/src/agent/errors.ts:748
statusText
Section titled “statusText”
readonlystatusText:string
Defined in: packages/core/src/agent/errors.ts:749
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/core/src/agent/errors.ts:757
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”ErrorCode.toErrorMessage
toString()
Section titled “toString()”toString():
string
Defined in: packages/core/src/agent/errors.ts:51
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”ErrorCode.toString