pub enum Error {
Show 29 variants
    InvalidInput {
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    DatasetAlreadyExists {
        uri: String,
        location: Location,
    },
    SchemaMismatch {
        difference: String,
        location: Location,
    },
    DatasetNotFound {
        path: String,
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    CorruptFile {
        path: Path,
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    NotSupported {
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    CommitConflict {
        version: u64,
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    RetryableCommitConflict {
        version: u64,
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    TooMuchWriteContention {
        message: String,
        location: Location,
    },
    Internal {
        message: String,
        location: Location,
    },
    PrerequisiteFailed {
        message: String,
        location: Location,
    },
    Arrow {
        message: String,
        location: Location,
    },
    Schema {
        message: String,
        location: Location,
    },
    NotFound {
        uri: String,
        location: Location,
    },
    IO {
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    Index {
        message: String,
        location: Location,
    },
    IndexNotFound {
        identity: String,
        location: Location,
    },
    InvalidTableLocation {
        message: String,
    },
    Stop,
    Wrapped {
        error: Box<dyn Error + Send + Sync>,
        location: Location,
    },
    Cloned {
        message: String,
        location: Location,
    },
    Execution {
        message: String,
        location: Location,
    },
    InvalidRef {
        message: String,
    },
    RefConflict {
        message: String,
    },
    RefNotFound {
        message: String,
    },
    Cleanup {
        message: String,
    },
    VersionNotFound {
        message: String,
    },
    VersionConflict {
        message: String,
        major_version: u16,
        minor_version: u16,
        location: Location,
    },
    Namespace {
        source: Box<dyn Error + Send + Sync>,
        location: Location,
    },
}Variants§
InvalidInput
DatasetAlreadyExists
SchemaMismatch
DatasetNotFound
CorruptFile
NotSupported
CommitConflict
RetryableCommitConflict
TooMuchWriteContention
Internal
PrerequisiteFailed
Arrow
Schema
NotFound
IO
Index
IndexNotFound
InvalidTableLocation
Stop
Stream early stop
Wrapped
Cloned
Execution
InvalidRef
RefConflict
RefNotFound
Cleanup
VersionNotFound
VersionConflict
Namespace
Implementations§
Source§impl Error
 
impl Error
pub fn corrupt_file( path: Path, message: impl Into<String>, location: Location, ) -> Error
pub fn invalid_input(message: impl Into<String>, location: Location) -> Error
pub fn io(message: impl Into<String>, location: Location) -> Error
pub fn version_conflict( message: impl Into<String>, major_version: u16, minor_version: u16, location: Location, ) -> Error
Trait Implementations§
Source§impl Error for Error
 
impl Error for Error
Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
 
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for Error
 
impl ErrorCompat for Error
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
    Self: AsErrorSource,
 
fn iter_chain(&self) -> ChainCompat<'_, '_>where
    Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to 
Error::source. Read moreSource§impl From<&ArrowError> for Error
 
impl From<&ArrowError> for Error
Source§fn from(e: &ArrowError) -> Error
 
fn from(e: &ArrowError) -> Error
Converts to this type from the input type.
Source§impl From<ArrowError> for Error
 
impl From<ArrowError> for Error
Source§fn from(e: ArrowError) -> Error
 
fn from(e: ArrowError) -> Error
Converts to this type from the input type.
Source§impl From<DecodeError> for Error
 
impl From<DecodeError> for Error
Source§fn from(e: DecodeError) -> Error
 
fn from(e: DecodeError) -> Error
Converts to this type from the input type.
Source§impl From<EncodeError> for Error
 
impl From<EncodeError> for Error
Source§fn from(e: EncodeError) -> Error
 
fn from(e: EncodeError) -> Error
Converts to this type from the input type.
Source§impl From<ParseError> for Error
 
impl From<ParseError> for Error
Source§fn from(e: ParseError) -> Error
 
fn from(e: ParseError) -> Error
Converts to this type from the input type.
Source§impl From<UnknownEnumValue> for Error
 
impl From<UnknownEnumValue> for Error
Source§fn from(e: UnknownEnumValue) -> Error
 
fn from(e: UnknownEnumValue) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
    T: Error + 'static,
 
impl<T> AsErrorSource for Twhere
    T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
 
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
 
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
    T: ?Sized,
 
impl<T> PolicyExt for Twhere
    T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
    T: Display,
 
impl<T> ToStringFallible for Twhere
    T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
 
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.