#[non_exhaustive]pub enum VortexError {
Show 20 variants
Other(ErrString, Box<Backtrace>),
External(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>),
OutOfBounds(usize, usize, usize, Box<Backtrace>),
Compute(ErrString, Box<Backtrace>),
InvalidArgument(ErrString, Box<Backtrace>),
Serde(ErrString, Box<Backtrace>),
NotImplemented(ErrString, ErrString, Box<Backtrace>),
MismatchedTypes(ErrString, ErrString, Box<Backtrace>),
AssertionFailed(ErrString, Box<Backtrace>),
Context(ErrString, Box<VortexError>),
Shared(Arc<VortexError>),
Arrow(ArrowError, Box<Backtrace>),
FlatBuffers(InvalidFlatbuffer, Box<Backtrace>),
Fmt(Error, Box<Backtrace>),
Io(Error, Box<Backtrace>),
ObjectStore(Error, Box<Backtrace>),
Jiff(Error, Box<Backtrace>),
Join(JoinError, Box<Backtrace>),
TryFromInt(TryFromIntError, Box<Backtrace>),
Prost(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>),
}Expand description
The top-level error type for Vortex.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Other(ErrString, Box<Backtrace>)
A catch-all error variant
External(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>)
A wrapped external error
OutOfBounds(usize, usize, usize, Box<Backtrace>)
An index is out of bounds.
Compute(ErrString, Box<Backtrace>)
An error occurred while executing a compute kernel.
InvalidArgument(ErrString, Box<Backtrace>)
An invalid argument was provided.
Serde(ErrString, Box<Backtrace>)
An error occurred while serializing or deserializing.
NotImplemented(ErrString, ErrString, Box<Backtrace>)
An unimplemented function was called.
MismatchedTypes(ErrString, ErrString, Box<Backtrace>)
A type mismatch occurred.
AssertionFailed(ErrString, Box<Backtrace>)
An assertion failed.
Context(ErrString, Box<VortexError>)
A wrapper for other errors, carrying additional context.
A wrapper for shared errors that require cloning.
Arrow(ArrowError, Box<Backtrace>)
A wrapper for errors from the Arrow library.
FlatBuffers(InvalidFlatbuffer, Box<Backtrace>)
A wrapper for errors from the FlatBuffers library.
Fmt(Error, Box<Backtrace>)
A wrapper for formatting errors.
Io(Error, Box<Backtrace>)
A wrapper for IO errors.
ObjectStore(Error, Box<Backtrace>)
A wrapper for errors from the Object Store library.
Jiff(Error, Box<Backtrace>)
A wrapper for errors from the Jiff library.
Join(JoinError, Box<Backtrace>)
A wrapper for Tokio join error.
TryFromInt(TryFromIntError, Box<Backtrace>)
Wrap errors for fallible integer casting.
Prost(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>)
Wrap protobuf-related errors
Implementations§
Source§impl VortexError
impl VortexError
Sourcepub fn with_context<T: Into<ErrString>>(self, msg: T) -> Self
pub fn with_context<T: Into<ErrString>>(self, msg: T) -> Self
Adds additional context to an error.
Trait Implementations§
Source§impl Debug for VortexError
impl Debug for VortexError
Source§impl Display for VortexError
impl Display for VortexError
Source§impl Error for VortexError
impl Error for VortexError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<&Arc<VortexError>> for VortexError
impl From<&Arc<VortexError>> for VortexError
Source§fn from(e: &Arc<VortexError>) -> Self
fn from(e: &Arc<VortexError>) -> Self
Source§impl From<Arc<VortexError>> for VortexError
impl From<Arc<VortexError>> for VortexError
Source§fn from(value: Arc<VortexError>) -> Self
fn from(value: Arc<VortexError>) -> Self
Source§impl From<ArrowError> for VortexError
impl From<ArrowError> for VortexError
Source§fn from(value: ArrowError) -> Self
fn from(value: ArrowError) -> Self
Source§impl From<DecodeError> for VortexError
impl From<DecodeError> for VortexError
Source§fn from(value: DecodeError) -> Self
fn from(value: DecodeError) -> Self
Source§impl From<EncodeError> for VortexError
impl From<EncodeError> for VortexError
Source§fn from(value: EncodeError) -> Self
fn from(value: EncodeError) -> Self
Source§impl From<Error> for VortexError
impl From<Error> for VortexError
Source§impl From<Error> for VortexError
Available on crate feature object_store only.
impl From<Error> for VortexError
object_store only.Source§impl From<Error> for VortexError
impl From<Error> for VortexError
Source§impl From<Infallible> for VortexError
impl From<Infallible> for VortexError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Source§impl From<InvalidFlatbuffer> for VortexError
Available on crate feature flatbuffers only.
impl From<InvalidFlatbuffer> for VortexError
flatbuffers only.Source§fn from(value: InvalidFlatbuffer) -> Self
fn from(value: InvalidFlatbuffer) -> Self
Source§impl From<JoinError> for VortexError
Available on crate feature tokio only.
impl From<JoinError> for VortexError
tokio only.Source§impl From<TryFromIntError> for VortexError
impl From<TryFromIntError> for VortexError
Source§fn from(value: TryFromIntError) -> Self
fn from(value: TryFromIntError) -> Self
Source§impl From<UnknownEnumValue> for VortexError
impl From<UnknownEnumValue> for VortexError
Source§fn from(value: UnknownEnumValue) -> Self
fn from(value: UnknownEnumValue) -> Self
Auto Trait Implementations§
impl Freeze for VortexError
impl !RefUnwindSafe for VortexError
impl Send for VortexError
impl Sync for VortexError
impl Unpin for VortexError
impl UnsafeUnpin for VortexError
impl !UnwindSafe for VortexError
Blanket Implementations§
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
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>
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>
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 more