pub enum ErrorKind {
TypeError = 1,
RankError = 2,
DimensionError = 3,
NumericalError = 4,
MemoryError = 5,
FunctionError = 6,
VersionError = 7,
}
Expand description
A list specifying general categories of Wolfram LibraryLink error.
It is used with the Error
type.
Variants§
TypeError = 1
Unexpected type encountered.
RankError = 2
Unexpected rank encountered.
DimensionError = 3
Inconsistent dimensions encountered.
NumericalError = 4
Error in numerical computation.
MemoryError = 5
Problem allocating memory.
FunctionError = 6
Generic error from a function.
VersionError = 7
Incompatible version.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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