Enum deltalake::storage::StorageError[][src]

pub enum StorageError {
    NotFound,
    AlreadyExists(String),
    Io {
        source: Error,
    },
    FileSystemNotSupported,
    Generic(String),
    Uri {
        source: UriError,
    },
}
Expand description

Error enum returned when storage backend interaction fails.

Variants

NotFound

The requested object does not exist.

AlreadyExists(String)

The object written to the storage backend already exists. This error is expected in some cases. For example, optimistic concurrency writes between multiple processes expect to compete for the same URI when writing to _delta_log.

Io

An IO error occurred while reading from the local file system.

Show fields

Fields of Io

source: Error

The raw error returned when trying to read the local file.

FileSystemNotSupported

The file system represented by the scheme is not known.

Generic(String)

Wraps a generic storage backend error. The wrapped string contains the details.

Uri

Error returned when the URI is invalid. The wrapped UriError contains additional details.

Show fields

Fields of Uri

source: UriError

Uri error details when the URI is invalid.

Implementations

Creates a StorageError::Io error wrapping the provided error string.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.