pub enum JoyError {
Show 18 variants
AlreadyInitialized(PathBuf),
NotInitialized,
ItemNotFound(String),
MilestoneNotFound(String),
CircularDependency(String),
CreateDir {
path: PathBuf,
source: Error,
},
WriteFile {
path: PathBuf,
source: Error,
},
ReadFile {
path: PathBuf,
source: Error,
},
YamlParse {
path: PathBuf,
source: Error,
},
Yaml(Error),
Git(String),
Template(String),
AuthFailed(String),
Crypto(Error),
ZoneAccessDenied {
zone: String,
},
PassphraseTooShort,
GuardDenied(String),
Other(String),
}Variants§
AlreadyInitialized(PathBuf)
NotInitialized
ItemNotFound(String)
MilestoneNotFound(String)
CircularDependency(String)
CreateDir
WriteFile
ReadFile
YamlParse
Yaml(Error)
Git(String)
Template(String)
AuthFailed(String)
Crypto(Error)
ZoneAccessDenied
PassphraseTooShort
GuardDenied(String)
Other(String)
Trait Implementations§
Source§impl Error for JoyError
impl Error for JoyError
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 JoyError
impl !RefUnwindSafe for JoyError
impl Send for JoyError
impl Sync for JoyError
impl Unpin for JoyError
impl UnsafeUnpin for JoyError
impl !UnwindSafe for JoyError
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