pub enum ChestError {
Invalid(String),
Failed(String),
Npm(NpmError),
Io {
path: PathBuf,
source: Error,
},
}Expand description
Why a chest operation failed.
Variants§
Invalid(String)
A manifest, lock or package tree that chest refuses.
Failed(String)
A git command or another step of an install failed.
Npm(NpmError)
An npm operation failed.
Io
A file operation failed.
Trait Implementations§
Source§impl Debug for ChestError
impl Debug for ChestError
Source§impl Display for ChestError
impl Display for ChestError
Source§impl Error for ChestError
impl Error for ChestError
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 !RefUnwindSafe for ChestError
impl !UnwindSafe for ChestError
impl Forget for ChestError
impl Freeze for ChestError
impl Send for ChestError
impl Sync for ChestError
impl Unpin for ChestError
impl UnsafeUnpin for ChestError
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