CertificateNotAuthorizedErrorCode
Defined in: packages/agent/src/errors.ts:235
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:238
Parameters
Section titled “Parameters”canisterId
Section titled “canisterId”subnetId
Section titled “subnetId”Uint8Array
Returns
Section titled “Returns”CertificateNotAuthorizedErrorCode
Overrides
Section titled “Overrides”ErrorCode.constructor
Properties
Section titled “Properties”callContext?
Section titled “callContext?”
optional
callContext:CallContext
Defined in: packages/agent/src/errors.ts:35
Inherited from
Section titled “Inherited from”ErrorCode.callContext
canisterId
Section titled “canisterId”
readonly
canisterId:Principal
Defined in: packages/agent/src/errors.ts:239
isCertified
Section titled “isCertified”
readonly
isCertified:boolean
=false
Defined in: packages/agent/src/errors.ts:37
Inherited from
Section titled “Inherited from”ErrorCode.isCertified
name:
string
='CertificateNotAuthorizedErrorCode'
Defined in: packages/agent/src/errors.ts:236
requestContext?
Section titled “requestContext?”
optional
requestContext:RequestContext
Defined in: packages/agent/src/errors.ts:34
Inherited from
Section titled “Inherited from”ErrorCode.requestContext
subnetId
Section titled “subnetId”
readonly
subnetId:Uint8Array
Defined in: packages/agent/src/errors.ts:240
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/agent/src/errors.ts:246
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”ErrorCode.toErrorMessage
toString()
Section titled “toString()”toString():
string
Defined in: packages/agent/src/errors.ts:41
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”ErrorCode.toString