Skip to main content

ExportDecryptionError

Midnight.js API Reference v3.1.0


Midnight.js API Reference / @midnight-ntwrk/midnight-js-types / ExportDecryptionError

Class: ExportDecryptionError

Error thrown when decryption of export data fails. This could be due to wrong password, corrupted data, or tampered content. The specific cause is intentionally not disclosed to prevent oracle attacks.

Extends

Constructors

Constructor

new ExportDecryptionError(): ExportDecryptionError

Returns

ExportDecryptionError

Overrides

PrivateStateImportError.constructor

Properties

cause?

readonly optional cause: PrivateStateImportErrorCause

Inherited from

PrivateStateImportError.cause