#[non_exhaustive]pub enum VortexError {
Show 19 variants
Generic(Box<dyn Error + Send + Sync + 'static>, Backtrace),
OutOfBounds(usize, usize, usize, Backtrace),
ComputeError(ErrString, Backtrace),
InvalidArgument(ErrString, Backtrace),
InvalidState(ErrString, Backtrace),
InvalidSerde(ErrString, Backtrace),
NotImplemented(ErrString, ErrString, Backtrace),
MismatchedTypes(ErrString, ErrString, Backtrace),
AssertionFailed(ErrString, Backtrace),
Context(ErrString, Box<VortexError>),
Shared(Arc<VortexError>),
ArrowError(ArrowError, Backtrace),
FmtError(Error, Backtrace),
IOError(Error, Backtrace),
Utf8Error(Utf8Error, Backtrace),
TryFromSliceError(TryFromSliceError, Backtrace),
JiffError(Error, Backtrace),
UrlError(ParseError, Backtrace),
TryFromInt(TryFromIntError, Backtrace),
}
Expand description
The top-level error type for Vortex.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Generic(Box<dyn Error + Send + Sync + 'static>, Backtrace)
A wrapped generic error
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.
InvalidState(ErrString, Backtrace)
The system has reached an invalid state,
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.
A wrapper for shared errors that require cloning.
ArrowError(ArrowError, Backtrace)
A wrapper for errors from the Arrow library.
FmtError(Error, Backtrace)
A wrapper for formatting errors.
IOError(Error, Backtrace)
A wrapper for IO errors.
Utf8Error(Utf8Error, Backtrace)
A wrapper for UTF-8 conversion errors.
TryFromSliceError(TryFromSliceError, Backtrace)
A wrapper for errors from the standard library when converting a slice to an array.
JiffError(Error, Backtrace)
A wrapper for errors from the Jiff library.
UrlError(ParseError, Backtrace)
A wrapper for URL parsing errors.
TryFromInt(TryFromIntError, Backtrace)
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.