ErrorCode
Defined in: packages/core/src/agent/errors.ts:74
Extended by
Section titled “Extended by”CertificateVerificationErrorCodeCertificateTimeErrorCodeCertificateHasTooManyDelegationsErrorCodeCertificateNotAuthorizedErrorCodeCertificateNotAuthorizedForSubnetErrorCodeLookupErrorCodeMalformedLookupFoundValueErrorCodeMissingLookupValueErrorCodeDerKeyLengthMismatchErrorCodeDerPrefixMismatchErrorCodeDerDecodeLengthMismatchErrorCodeDerDecodeErrorCodeDerEncodeErrorCodeCborDecodeErrorCodeCborEncodeErrorCodeHexDecodeErrorCodeTimeoutWaitingForResponseErrorCodeCertificateOutdatedErrorCodeCertifiedRejectErrorCodeUncertifiedRejectErrorCodeUncertifiedRejectUpdateErrorCodeRequestStatusDoneNoReplyErrorCodeMissingRootKeyErrorCodeHashValueErrorCodeIdentityInvalidErrorCodeIngressExpiryInvalidErrorCodeMissingFetchErrorCodeCreateHttpAgentErrorCodeExcessiveSignaturesErrorCodeMalformedSignatureErrorCodeMissingSignatureErrorCodeMalformedPublicKeyErrorCodeQuerySignatureVerificationFailedErrorCodeUnexpectedErrorCodeUnexpectedV4StatusErrorCodeHashTreeDecodeErrorCodeHttpErrorCodeHttpV4ApiNotSupportedErrorCodeHttpFetchErrorCodeMissingCanisterIdErrorCodeInvalidReadStateRequestErrorCodeExpiryJsonDeserializeErrorCodeInvalidRootKeyErrorCodeMissingCookieErrorCodeEmptyCookieErrorCode
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ErrorCode(
isCertified?):ErrorCode
Defined in: packages/core/src/agent/errors.ts:80
Parameters
Section titled “Parameters”isCertified?
Section titled “isCertified?”boolean = false
Returns
Section titled “Returns”ErrorCode
Properties
Section titled “Properties”callContext?
Section titled “callContext?”
optionalcallContext?:CallContext|PollingCallContext
Defined in: packages/core/src/agent/errors.ts:78
isCertified
Section titled “isCertified”
readonlyisCertified:boolean=false
Defined in: packages/core/src/agent/errors.ts:80
requestContext?
Section titled “requestContext?”
optionalrequestContext?:RequestContext
Defined in: packages/core/src/agent/errors.ts:77
verbosity
Section titled “verbosity”
staticverbosity:ErrorVerbosity=ErrorVerbosity.Normal
Defined in: packages/core/src/agent/errors.ts:75
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”
abstracttoErrorMessage():string
Defined in: packages/core/src/agent/errors.ts:82
Returns
Section titled “Returns”string
toString()
Section titled “toString()”toString():
string
Defined in: packages/core/src/agent/errors.ts:84
Returns
Section titled “Returns”string