Enum vortex_error::VortexError
source · #[non_exhaustive]pub enum VortexError {
Show 24 variants
OutOfBounds(usize, usize, usize, Backtrace),
ComputeError(ErrString, Backtrace),
InvalidArgument(ErrString, Backtrace),
InvalidSerde(ErrString, Backtrace),
NotImplemented(ErrString, ErrString, Backtrace),
MismatchedTypes(ErrString, ErrString, Backtrace),
AssertionFailed(ErrString, Backtrace),
Context(ErrString, Box<VortexError>),
ArrowError(ArrowError),
FlatBuffersError(InvalidFlatbuffer),
FlexBuffersReaderError(ReaderError),
FlexBuffersDeError(DeserializationError),
FlexBuffersSerError(SerializationError),
FmtError(Error),
IOError(Error),
Utf8Error(Utf8Error),
ParquetError(ParquetError),
TryFromSliceError(TryFromSliceError),
WorkerError(Error),
ObjectStore(Error),
DataFusion(DataFusionError),
JiffError(Error),
UrlError(ParseError),
TryFromInt(TryFromIntError),
}
Expand description
The top-level error type for Vortex.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
OutOfBounds(usize, usize, usize, Backtrace)
An index is out of bounds.
ComputeError(ErrString, Backtrace)
An error occurred while executing a compute kernel.
InvalidArgument(ErrString, Backtrace)
An invalid argument was provided.
InvalidSerde(ErrString, Backtrace)
An error occurred while serializing or deserializing.
NotImplemented(ErrString, ErrString, Backtrace)
An unimplemented function was called.
MismatchedTypes(ErrString, ErrString, Backtrace)
A type mismatch occurred.
AssertionFailed(ErrString, Backtrace)
An assertion failed.
Context(ErrString, Box<VortexError>)
A wrapper for other errors, carrying additional context.
ArrowError(ArrowError)
A wrapper for errors from the Arrow library.
FlatBuffersError(InvalidFlatbuffer)
A wrapper for errors from the FlatBuffers library.
FlexBuffersReaderError(ReaderError)
A wrapper for reader errors from the FlexBuffers library.
FlexBuffersDeError(DeserializationError)
A wrapper for deserialization errors from the FlexBuffers library.
FlexBuffersSerError(SerializationError)
A wrapper for serialization errors from the FlexBuffers library.
FmtError(Error)
A wrapper for formatting errors.
IOError(Error)
A wrapper for IO errors.
Utf8Error(Utf8Error)
A wrapper for UTF-8 conversion errors.
ParquetError(ParquetError)
A wrapper for errors from the Parquet library.
TryFromSliceError(TryFromSliceError)
A wrapper for errors from the standard library when converting a slice to an array.
WorkerError(Error)
A wrapper for errors from the Cloudflare Workers library.
ObjectStore(Error)
A wrapper for errors from the Object Store library.
DataFusion(DataFusionError)
A wrapper for errors from DataFusion.
JiffError(Error)
A wrapper for errors from the Jiff library.
UrlError(ParseError)
A wrapper for URL parsing errors.
TryFromInt(TryFromIntError)
Wrap errors for fallible integer casting.
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)>
source§fn provide<'_request>(&'_request self, request: &mut Request<'_request>)
fn provide<'_request>(&'_request self, request: &mut Request<'_request>)
error_generic_member_access
)1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<ArrowError> for VortexError
impl From<ArrowError> for VortexError
source§impl From<DataFusionError> for VortexError
impl From<DataFusionError> for VortexError
source§impl From<DeserializationError> for VortexError
impl From<DeserializationError> for VortexError
source§impl From<Error> for VortexError
impl From<Error> for VortexError
source§impl From<Error> for VortexError
impl From<Error> for VortexError
source§impl From<Error> for VortexError
impl From<Error> for VortexError
source§impl From<Error> for VortexError
impl From<Error> for VortexError
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
impl From<InvalidFlatbuffer> for VortexError
source§impl From<ParquetError> for VortexError
impl From<ParquetError> for VortexError
source§impl From<ParseError> for VortexError
impl From<ParseError> for VortexError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
source§impl From<Error> for VortexError
impl From<Error> for VortexError
source§impl From<Error> for VortexError
impl From<Error> for VortexError
source§impl From<TryFromIntError> for VortexError
impl From<TryFromIntError> for VortexError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
source§impl From<TryFromSliceError> for VortexError
impl From<TryFromSliceError> for VortexError
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
source§impl From<Utf8Error> for VortexError
impl From<Utf8Error> for VortexError
source§impl From<VortexError> for ArrowError
impl From<VortexError> for ArrowError
source§fn from(value: VortexError) -> Self
fn from(value: VortexError) -> Self
source§impl From<VortexError> for DataFusionError
impl From<VortexError> for DataFusionError
source§fn from(value: VortexError) -> Self
fn from(value: VortexError) -> Self
source§impl From<VortexError> for Error
impl From<VortexError> for Error
source§fn from(value: VortexError) -> Self
fn from(value: VortexError) -> Self
source§impl From<VortexError> for PyErr
impl From<VortexError> for PyErr
source§fn from(value: VortexError) -> Self
fn from(value: VortexError) -> 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 !UnwindSafe for VortexError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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