pub enum SkillfileError {
Manifest(String),
Network(String),
Install(String),
PatchConflict {
message: String,
entry_name: String,
},
Io(Error),
}Expand description
Root error type for the skillfile domain.
Library crates use this typed enum so callers can match on error variants.
The CLI binary wraps these in anyhow::Error for top-level reporting.
Variants§
Trait Implementations§
Source§impl Debug for SkillfileError
impl Debug for SkillfileError
Source§impl Display for SkillfileError
impl Display for SkillfileError
Source§impl Error for SkillfileError
impl Error for SkillfileError
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 SkillfileError
impl !RefUnwindSafe for SkillfileError
impl Send for SkillfileError
impl Sync for SkillfileError
impl Unpin for SkillfileError
impl UnsafeUnpin for SkillfileError
impl !UnwindSafe for SkillfileError
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