pub enum CiError {
CliMissing(&'static str),
Exec {
cmd: String,
message: String,
},
Parse {
what: String,
message: String,
},
NotFound(String),
Unsupported(&'static str),
}Expand description
Failures from acquiring CI data. Adapters surface these; the host maps them to a status-bar message and degrades (no runs / no DAG / no logs) rather than crashing.
Variants§
Trait Implementations§
Source§impl Error for CiError
impl Error for CiError
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()
Auto Trait Implementations§
impl Forget for CiError
impl Freeze for CiError
impl RefUnwindSafe for CiError
impl Send for CiError
impl Sync for CiError
impl Unpin for CiError
impl UnsafeUnpin for CiError
impl UnwindSafe for CiError
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