pub enum UwuError {
StringMatcherBuild(BuildError),
StringMatcherMatch(MatchError),
Io(Error),
Unknown(Box<dyn Error + Send>),
}
Expand description
A Uwu error.
Variants§
StringMatcherBuild(BuildError)
Error building string matcher
StringMatcherMatch(MatchError)
Error in string match
Io(Error)
IO error
Unknown(Box<dyn Error + Send>)
Unknown error
Trait Implementations§
Source§impl Error for UwuError
impl Error for UwuError
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<BuildError> for UwuError
impl From<BuildError> for UwuError
Source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<MatchError> for UwuError
impl From<MatchError> for UwuError
Source§fn from(source: MatchError) -> Self
fn from(source: MatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UwuError
impl !RefUnwindSafe for UwuError
impl Send for UwuError
impl !Sync for UwuError
impl Unpin for UwuError
impl !UnwindSafe for UwuError
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