Skip to main content

SecureStorageError

Type Alias SecureStorageError 

Source
pub type SecureStorageError = AuraError;
Expand description

Secure storage operation error

Aliased Type§

pub enum SecureStorageError {
    Invalid {
        message: String,
    },
    NotFound {
        message: String,
    },
    PermissionDenied {
        message: String,
    },
    Crypto {
        message: String,
    },
    Network {
        message: String,
    },
    Serialization {
        message: String,
    },
    Storage {
        message: String,
    },
    Internal {
        message: String,
    },
    Terminal(String),
}

Variants§

§

Invalid

Invalid input or configuration

Fields

§message: String

Error message describing the invalid input

§

NotFound

Resource not found

Fields

§message: String

Error message describing what was not found

§

PermissionDenied

Permission denied

Fields

§message: String

Error message describing the permission issue

§

Crypto

Cryptographic operation failed

Fields

§message: String

Error message describing the cryptographic failure

§

Network

Network or transport error

Fields

§message: String

Error message describing the network issue

§

Serialization

Serialization/deserialization error

Fields

§message: String

Error message describing the serialization failure

§

Storage

Storage operation failed

Fields

§message: String

Error message describing the storage failure

§

Internal

Internal system error

Fields

§message: String

Error message describing the internal error

§

Terminal(String)

Terminal operation error