Enum lance_core::error::Error
source · pub enum Error {
Show 14 variants
InvalidInput {
source: Box<dyn Error + Send + Sync + 'static>,
},
DatasetAlreadyExists {
uri: String,
},
SchemaMismatch {},
DatasetNotFound {
path: String,
source: Box<dyn Error + Send + Sync + 'static>,
},
CorruptFile {
path: Path,
source: Box<dyn Error + Send + Sync + 'static>,
},
NotSupported {
source: Box<dyn Error + Send + Sync + 'static>,
},
CommitConflict {
version: u64,
source: Box<dyn Error + Send + Sync + 'static>,
},
Internal {
message: String,
},
Arrow {
message: String,
},
Schema {
message: String,
location: Location,
},
NotFound {
uri: String,
location: Location,
},
IO {
message: String,
location: Location,
},
Index {
message: String,
},
Stop,
}Variants§
InvalidInput
DatasetAlreadyExists
SchemaMismatch
DatasetNotFound
CorruptFile
NotSupported
CommitConflict
Internal
Arrow
Schema
NotFound
IO
Index
Stop
Stream early stop
Implementations§
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) -> Self
fn from(e: &ArrowError) -> Self
Converts to this type from the input type.
source§impl From<ArrowError> for Error
impl From<ArrowError> for Error
source§fn from(e: ArrowError) -> Self
fn from(e: ArrowError) -> Self
Converts to this type from the input type.
source§impl From<DataFusionError> for Error
impl From<DataFusionError> for Error
source§fn from(e: DataFusionError) -> Self
fn from(e: DataFusionError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for Error
impl From<DecodeError> for Error
source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ArrowError
impl From<Error> for ArrowError
source§impl From<Error> for DataFusionError
impl From<Error> for DataFusionError
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
source§impl<__T0> IntoError<Error> for ArrowSnafu<__T0>
impl<__T0> IntoError<Error> for ArrowSnafu<__T0>
source§impl<__T0> IntoError<Error> for CommitConflictSnafu<__T0>
impl<__T0> IntoError<Error> for CommitConflictSnafu<__T0>
source§impl<__T0> IntoError<Error> for CorruptFileSnafu<__T0>
impl<__T0> IntoError<Error> for CorruptFileSnafu<__T0>
source§impl<__T0> IntoError<Error> for DatasetAlreadyExistsSnafu<__T0>
impl<__T0> IntoError<Error> for DatasetAlreadyExistsSnafu<__T0>
source§impl<__T0> IntoError<Error> for DatasetNotFoundSnafu<__T0>
impl<__T0> IntoError<Error> for DatasetNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for IndexSnafu<__T0>
impl<__T0> IntoError<Error> for IndexSnafu<__T0>
source§impl<__T0> IntoError<Error> for InternalSnafu<__T0>
impl<__T0> IntoError<Error> for InternalSnafu<__T0>
source§impl IntoError<Error> for InvalidInputSnafu
impl IntoError<Error> for InvalidInputSnafu
source§impl<__T0> IntoError<Error> for NotFoundSnafu<__T0>
impl<__T0> IntoError<Error> for NotFoundSnafu<__T0>
source§impl IntoError<Error> for NotSupportedSnafu
impl IntoError<Error> for NotSupportedSnafu
source§impl IntoError<Error> for SchemaMismatchSnafu
impl IntoError<Error> for SchemaMismatchSnafu
source§impl<__T0> IntoError<Error> for SchemaSnafu<__T0>
impl<__T0> IntoError<Error> for SchemaSnafu<__T0>
Auto Trait Implementations§
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