#[non_exhaustive]pub enum VortexError {
Show 18 variants
Generic(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>),
OutOfBounds(usize, usize, usize, Box<Backtrace>),
ComputeError(ErrString, Box<Backtrace>),
InvalidArgument(ErrString, Box<Backtrace>),
InvalidState(ErrString, Box<Backtrace>),
InvalidSerde(ErrString, Box<Backtrace>),
NotImplemented(ErrString, ErrString, Box<Backtrace>),
MismatchedTypes(ErrString, ErrString, Box<Backtrace>),
AssertionFailed(ErrString, Box<Backtrace>),
Context(ErrString, Box<VortexError>),
Shared(Arc<VortexError>),
ArrowError(ArrowError, Box<Backtrace>),
FmtError(Error, Box<Backtrace>),
IOError(Error, Box<Backtrace>),
TryFromSliceError(TryFromSliceError, Box<Backtrace>),
JiffError(Error, Box<Backtrace>),
UrlError(ParseError, Box<Backtrace>),
TryFromInt(TryFromIntError, Box<Backtrace>),
}
Expand description
The top-level error type for Vortex.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic(Box<dyn Error + Send + Sync + 'static>, Box<Backtrace>)
A wrapped generic error
OutOfBounds(usize, usize, usize, Box<Backtrace>)
An index is out of bounds.
ComputeError(ErrString, Box<Backtrace>)
An error occurred while executing a compute kernel.
InvalidArgument(ErrString, Box<Backtrace>)
An invalid argument was provided.
InvalidState(ErrString, Box<Backtrace>)
The system has reached an invalid state,
InvalidSerde(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.
ArrowError(ArrowError, Box<Backtrace>)
A wrapper for errors from the Arrow library.
FmtError(Error, Box<Backtrace>)
A wrapper for formatting errors.
IOError(Error, Box<Backtrace>)
A wrapper for IO errors.
TryFromSliceError(TryFromSliceError, Box<Backtrace>)
A wrapper for errors from the standard library when converting a slice to an array.
JiffError(Error, Box<Backtrace>)
A wrapper for errors from the Jiff library.
UrlError(ParseError, Box<Backtrace>)
A wrapper for URL parsing errors.
TryFromInt(TryFromIntError, Box<Backtrace>)
Wrap errors for fallible integer casting.
Implementations§
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)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Converts to this type from the input type.
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
Converts to this type from the input type.
Source§impl From<ArrowError> for VortexError
impl From<ArrowError> for VortexError
Source§fn from(value: ArrowError) -> Self
fn from(value: ArrowError) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
Source§impl From<ParseError> for VortexError
impl From<ParseError> for VortexError
Source§fn from(value: ParseError) -> Self
fn from(value: ParseError) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for VortexError
impl<T> From<PoisonError<T>> for VortexError
Source§fn from(_value: PoisonError<T>) -> Self
fn from(_value: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for VortexError
impl From<TryFromIntError> for VortexError
Source§fn from(value: TryFromIntError) -> Self
fn from(value: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for VortexError
impl From<TryFromSliceError> for VortexError
Source§fn from(value: TryFromSliceError) -> Self
fn from(value: TryFromSliceError) -> Self
Converts to this type from the input type.
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§
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