pub enum LuxError {
EmptyInput,
MismatchedLengths {
wavelengths: usize,
values: usize,
},
NonMonotonicWavelengths,
InvalidGridSpec,
InvalidInput(&'static str),
UnsupportedObserver(&'static str),
MissingObserver,
ParseError(&'static str),
}Variants§
EmptyInput
MismatchedLengths
NonMonotonicWavelengths
InvalidGridSpec
InvalidInput(&'static str)
UnsupportedObserver(&'static str)
MissingObserver
ParseError(&'static str)
Trait Implementations§
Source§impl Error for LuxError
impl Error for LuxError
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()
impl StructuralPartialEq for LuxError
Auto Trait Implementations§
impl Freeze for LuxError
impl RefUnwindSafe for LuxError
impl Send for LuxError
impl Sync for LuxError
impl Unpin for LuxError
impl UnsafeUnpin for LuxError
impl UnwindSafe for LuxError
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