pub enum MinarrowError {
ColumnLengthMismatch {
col: usize,
expected: usize,
found: usize,
},
Overflow {
value: String,
target: &'static str,
},
LossyCast {
value: String,
target: &'static str,
},
TypeError {
from: &'static str,
to: &'static str,
message: Option<String>,
},
NullError {
message: Option<String>,
},
IncompatibleTypeError {
from: &'static str,
to: &'static str,
message: Option<String>,
},
KernelError(Option<String>),
ShapeError {
message: String,
},
NotImplemented {
feature: String,
},
IndexError(String),
}Expand description
Catch all error type for Minarrow
Variants§
ColumnLengthMismatch
Overflow
LossyCast
TypeError
NullError
IncompatibleTypeError
KernelError(Option<String>)
ShapeError
NotImplemented
IndexError(String)
Trait Implementations§
Source§impl Debug for MinarrowError
impl Debug for MinarrowError
Source§impl Display for MinarrowError
impl Display for MinarrowError
Source§impl Error for MinarrowError
impl Error for MinarrowError
1.30.0 · 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<KernelError> for MinarrowError
impl From<KernelError> for MinarrowError
Source§fn from(err: KernelError) -> MinarrowError
fn from(err: KernelError) -> MinarrowError
Converts to this type from the input type.
Source§impl PartialEq for MinarrowError
impl PartialEq for MinarrowError
impl StructuralPartialEq for MinarrowError
Auto Trait Implementations§
impl Freeze for MinarrowError
impl RefUnwindSafe for MinarrowError
impl Send for MinarrowError
impl Sync for MinarrowError
impl Unpin for MinarrowError
impl UnsafeUnpin for MinarrowError
impl UnwindSafe for MinarrowError
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