Skip to content

CryptoBridgeError

Defined in: ootle/src/errors/index.ts:144

Raised when the WASM crypto bridge fails (AEAD decryption, balance-proof verification, scalar parsing, …). context is a short label identifying which bridge call failed; the original bridge error chains via cause.

new CryptoBridgeError(message, options?): CryptoBridgeError

Defined in: ootle/src/errors/index.ts:148

string

ErrorOptions & object

CryptoBridgeError

OotleError.constructor

readonly optional context?: string

Defined in: ootle/src/errors/index.ts:146


readonly static errorName: "CryptoBridgeError" = "CryptoBridgeError"

Defined in: ootle/src/errors/index.ts:145

The stable name reported by instances of this class. Each SDK subclass sets it to its own class name, because a minified build can rename the class itself.

OotleError.errorName