InvalidRootKeyErrorCode
Defined in: packages/core/src/agent/errors.ts:824
Extends
Section titled “Extends”ErrorCode
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvalidRootKeyErrorCode(
rootKey,expectedLength):InvalidRootKeyErrorCode
Defined in: packages/core/src/agent/errors.ts:827
Parameters
Section titled “Parameters”rootKey
Section titled “rootKey”Uint8Array
expectedLength
Section titled “expectedLength”number
Returns
Section titled “Returns”InvalidRootKeyErrorCode
Overrides
Section titled “Overrides”ErrorCode.constructor
Properties
Section titled “Properties”callContext?
Section titled “callContext?”
optionalcallContext:CallContext
Defined in: packages/core/src/agent/errors.ts:40
Inherited from
Section titled “Inherited from”ErrorCode.callContext
expectedLength
Section titled “expectedLength”
readonlyexpectedLength:number
Defined in: packages/core/src/agent/errors.ts:829
isCertified
Section titled “isCertified”
readonlyisCertified:boolean=false
Defined in: packages/core/src/agent/errors.ts:42
Inherited from
Section titled “Inherited from”ErrorCode.isCertified
name:
string='InvalidRootKeyErrorCode'
Defined in: packages/core/src/agent/errors.ts:825
requestContext?
Section titled “requestContext?”
optionalrequestContext:RequestContext
Defined in: packages/core/src/agent/errors.ts:39
Inherited from
Section titled “Inherited from”ErrorCode.requestContext
rootKey
Section titled “rootKey”
readonlyrootKey:Uint8Array
Defined in: packages/core/src/agent/errors.ts:828
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/core/src/agent/errors.ts:835
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:46
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”ErrorCode.toString