pub enum NabledError {
Shape(ShapeError),
SingularMatrix,
NotSymmetric,
NotPositiveDefinite,
ConvergenceFailed,
NumericalInstability,
InvalidInput(String),
Other(String),
}Expand description
Cross-domain top-level error taxonomy for nabled crates.
Variants§
Shape(ShapeError)
Shape or dimensional validation failure.
SingularMatrix
Matrix/vector is singular.
NotSymmetric
Matrix symmetry requirement failed.
NotPositiveDefinite
Matrix positive-definiteness requirement failed.
ConvergenceFailed
Numerical method failed to converge.
NumericalInstability
Non-finite or unstable numerical state observed.
InvalidInput(String)
Invalid user input.
Other(String)
Domain-specific catch-all.
Trait Implementations§
Source§impl Clone for NabledError
impl Clone for NabledError
Source§fn clone(&self) -> NabledError
fn clone(&self) -> NabledError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NabledError
impl Debug for NabledError
Source§impl Display for NabledError
impl Display for NabledError
Source§impl Error for NabledError
impl Error for NabledError
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<ShapeError> for NabledError
impl From<ShapeError> for NabledError
Source§fn from(source: ShapeError) -> Self
fn from(source: ShapeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NabledError
impl PartialEq for NabledError
impl StructuralPartialEq for NabledError
Auto Trait Implementations§
impl Freeze for NabledError
impl RefUnwindSafe for NabledError
impl Send for NabledError
impl Sync for NabledError
impl Unpin for NabledError
impl UnsafeUnpin for NabledError
impl UnwindSafe for NabledError
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