pub enum SwoopErrors {
MaxIterExceeded,
ArgumentError(String),
Other(Error),
}Expand description
Error enum
Variants§
MaxIterExceeded
Error to catch maximum iteration exceptions
ArgumentError(String)
Error for incorrectly set argument
Other(Error)
Transparent error handler
Trait Implementations§
Source§impl Debug for SwoopErrors
impl Debug for SwoopErrors
Source§impl Display for SwoopErrors
impl Display for SwoopErrors
Source§impl Error for SwoopErrors
impl Error for SwoopErrors
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()
Auto Trait Implementations§
impl Freeze for SwoopErrors
impl RefUnwindSafe for SwoopErrors
impl Send for SwoopErrors
impl Sync for SwoopErrors
impl Unpin for SwoopErrors
impl UnwindSafe for SwoopErrors
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