pub enum CovyError {
Io {
path: PathBuf,
source: Error,
},
IoRaw(Error),
Parse {
format: String,
detail: String,
},
Xml(String),
UnknownFormat {
path: String,
},
GitNotFound,
Git(String),
EmptyInput {
path: String,
},
Config(String),
Cache(String),
PathMapping(String),
Other(String),
}Variants§
Io
IoRaw(Error)
Parse
Xml(String)
UnknownFormat
GitNotFound
Git(String)
EmptyInput
Config(String)
Cache(String)
PathMapping(String)
Other(String)
Implementations§
Trait Implementations§
Source§impl Error for CovyError
impl Error for CovyError
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 CovyError
impl !RefUnwindSafe for CovyError
impl Send for CovyError
impl Sync for CovyError
impl Unpin for CovyError
impl UnsafeUnpin for CovyError
impl !UnwindSafe for CovyError
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