Skip to main content

ExportDecryptionError

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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