CertificateNotAuthorizedErrorCode
Defined in: packages/agent/src/errors.ts:247
Extends
Section titled “Extends”ErrorCode
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CertificateNotAuthorizedErrorCode(
canisterId,subnetId):CertificateNotAuthorizedErrorCode
Defined in: packages/agent/src/errors.ts:250
Parameters
Section titled “Parameters”canisterId
Section titled “canisterId”subnetId
Section titled “subnetId”Returns
Section titled “Returns”CertificateNotAuthorizedErrorCode
Overrides
Section titled “Overrides”ErrorCode.constructor
Properties
Section titled “Properties”callContext?
Section titled “callContext?”
optionalcallContext:CallContext
Defined in: packages/agent/src/errors.ts:39
Inherited from
Section titled “Inherited from”ErrorCode.callContext
canisterId
Section titled “canisterId”
readonlycanisterId:Principal
Defined in: packages/agent/src/errors.ts:251
isCertified
Section titled “isCertified”
readonlyisCertified:boolean=false
Defined in: packages/agent/src/errors.ts:41
Inherited from
Section titled “Inherited from”ErrorCode.isCertified
name:
string='CertificateNotAuthorizedErrorCode'
Defined in: packages/agent/src/errors.ts:248
requestContext?
Section titled “requestContext?”
optionalrequestContext:RequestContext
Defined in: packages/agent/src/errors.ts:38
Inherited from
Section titled “Inherited from”ErrorCode.requestContext
subnetId
Section titled “subnetId”
readonlysubnetId:Principal
Defined in: packages/agent/src/errors.ts:252
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/agent/src/errors.ts:258
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”ErrorCode.toErrorMessage
toString()
Section titled “toString()”toString():
string
Defined in: packages/agent/src/errors.ts:45
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”ErrorCode.toString