HttpErrorCode
Defined in: packages/core/src/agent/errors.ts:814
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HttpErrorCode(
status,statusText,headers,bodyText?):HttpErrorCode
Defined in: packages/core/src/agent/errors.ts:817
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”Properties
Section titled “Properties”bodyText?
Section titled “bodyText?”
readonlyoptionalbodyText?:string
Defined in: packages/core/src/agent/errors.ts:821
callContext?
Section titled “callContext?”
optionalcallContext?:CallContext|PollingCallContext
Defined in: packages/core/src/agent/errors.ts:78
Inherited from
Section titled “Inherited from”headers
Section titled “headers”
readonlyheaders:HttpHeaderField[]
Defined in: packages/core/src/agent/errors.ts:820
isCertified
Section titled “isCertified”
readonlyisCertified:boolean=false
Defined in: packages/core/src/agent/errors.ts:80
Inherited from
Section titled “Inherited from”name:
string='HttpErrorCode'
Defined in: packages/core/src/agent/errors.ts:815
requestContext?
Section titled “requestContext?”
optionalrequestContext?:RequestContext
Defined in: packages/core/src/agent/errors.ts:77
Inherited from
Section titled “Inherited from”status
Section titled “status”
readonlystatus:number
Defined in: packages/core/src/agent/errors.ts:818
statusText
Section titled “statusText”
readonlystatusText:string
Defined in: packages/core/src/agent/errors.ts:819
verbosity
Section titled “verbosity”
staticverbosity:ErrorVerbosity=ErrorVerbosity.Normal
Defined in: packages/core/src/agent/errors.ts:75
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/core/src/agent/errors.ts:827
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”toString()
Section titled “toString()”toString():
string
Defined in: packages/core/src/agent/errors.ts:84
Returns
Section titled “Returns”string