pub enum ProjectsError {
Unavailable {
detail: String,
},
Auth {
detail: String,
},
Failed {
command: String,
detail: String,
},
LockHeld {
definition_dir: String,
detail: String,
},
ProjectAnchor {
detail: String,
},
ProvisionFailed {
resource: String,
detail: String,
},
CatalogMissing {
reference: String,
},
ConfigSchema {
reference: &'static str,
violations: Vec<String>,
},
}Variants§
Trait Implementations§
Source§impl Debug for ProjectsError
impl Debug for ProjectsError
Source§impl Display for ProjectsError
impl Display for ProjectsError
Source§impl Error for ProjectsError
impl Error for ProjectsError
1.30.0 · 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()
Source§impl Fault for ProjectsError
impl Fault for ProjectsError
Source§fn remediation(&self) -> String
fn remediation(&self) -> String
How to proceed: a concrete command, flag, or fix.
Source§fn context(&self) -> ErrorContext
fn context(&self) -> ErrorContext
Structured observables for agents (
command, log_path, log_tail, …).Auto Trait Implementations§
impl Freeze for ProjectsError
impl RefUnwindSafe for ProjectsError
impl Send for ProjectsError
impl Sync for ProjectsError
impl Unpin for ProjectsError
impl UnsafeUnpin for ProjectsError
impl UnwindSafe for ProjectsError
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