Skip to content

Class: CryptoError

Defined in: rine-ts-sdk/src/errors-classes.ts:206

Encryption or decryption failure. Also what instanceof answers true for the crypto refusals rine-core mints (an escrow gap, an org or agent-id mismatch, a downgrade, an MLS init in flight), as their Python twins are CryptoErrors.

Extends

Constructors

Constructor

new CryptoError(message, cause?): CryptoError;

Defined in: rine-ts-sdk/src/errors-classes.ts:216

Parameters

Parameter Type
message string
cause? unknown

Returns

CryptoError

Overrides

RineError.constructor

Properties

Property Type Overrides Defined in
cause? unknown RineError.cause rine-ts-sdk/src/errors-classes.ts:214

Methods

[hasInstance]()

static hasInstance: boolean;

Defined in: rine-ts-sdk/src/errors-classes.ts:207

Parameters

Parameter Type
this { prototype: object; }
this.prototype object
value unknown

Returns

boolean

Overrides

RineError.[hasInstance]