Enum upm::error::UpmError [] [src]

pub enum UpmError {
    ReadUnderrun,
    KeyIVGeneration,
    AccountParse(Option<String>),
    Io(Error),
    BadMagic,
    BadVersion(u8),
    Crypto(ErrorStack),
    BadPassword,
    InvalidFilename,
    TimeParseError(ParseError),
    Sync(String),
    NoDatabaseFilename,
    NoDatabasePassword,
    NoSyncURL,
    NoSyncCredentials,
    SyncDatabaseNotFound,
    Backup(String),
    FlatpackOverflow,
    DuplicateAccountName(String),
    PathNotUnicode(String),
}

The errors that may be returned by UPM functions are categorized into these enum variants.

Variants

Trait Implementations

impl Debug for UpmError
[src]

Formats the value using the given formatter.

impl Display for UpmError
[src]

Provide human-readable descriptions of the errors.

impl Error for UpmError
[src]

Provide terse descriptions of the errors.

For errors which encapsulate another error, allow the caller to fetch the contained error.

impl From<Error> for UpmError
[src]

Performs the conversion.

impl From<ErrorStack> for UpmError
[src]

Performs the conversion.

impl From<ParseError> for UpmError
[src]

Performs the conversion.

impl From<Error> for UpmError
[src]

Convert a reqwest error into a UpmError.