pub enum Error {
Config(String),
HistoryLimit(String),
InvalidTimeExpression(String),
Io(Error),
Parse(String),
Plugin(String),
Update(String),
}Expand description
Errors that can occur within the doing crate.
Variants§
Config(String)
An error occurred while reading or writing configuration.
HistoryLimit(String)
The requested undo/redo operation exceeds available history.
InvalidTimeExpression(String)
An invalid or unrecognized time expression was provided.
Io(Error)
An I/O error occurred.
Parse(String)
An error occurred while parsing input.
Plugin(String)
An error occurred in the plugin system.
Update(String)
An error occurred during self-update.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl !UnwindSafe for Error
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