pub enum BuildPrettyError {
CommandWasFailed {
task_name: &'static str,
task_index: usize,
output: Option<Output>,
error_source: Option<Box<dyn Error>>,
},
FnWasFailed {
task_name: &'static str,
task_index: usize,
output: String,
error_source: Option<Box<dyn Error>>,
},
}
Variants§
Implementations§
Source§impl BuildPrettyError
impl BuildPrettyError
pub fn extract_output(&self) -> String
Trait Implementations§
Source§impl Debug for BuildPrettyError
impl Debug for BuildPrettyError
Source§impl Display for BuildPrettyError
impl Display for BuildPrettyError
Source§impl Error for BuildPrettyError
impl Error for BuildPrettyError
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 Freeze for BuildPrettyError
impl !RefUnwindSafe for BuildPrettyError
impl !Send for BuildPrettyError
impl !Sync for BuildPrettyError
impl Unpin for BuildPrettyError
impl !UnwindSafe for BuildPrettyError
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