pub struct ExecuteError { /* private fields */ }Expand description
A stable execution failure with an optional verbatim generator or writer cause.
Implementations§
Source§impl ExecuteError
impl ExecuteError
Sourcepub fn path(&self) -> &Path
pub fn path(&self) -> &Path
Returns the filesystem location; this alias matches the earlier CLI error surfaces.
Sourcepub fn diagnostics(&self) -> Option<&Diagnostics>
pub fn diagnostics(&self) -> Option<&Diagnostics>
Returns the generator diagnostics without changing their order or rendering.
Sourcepub fn write_error(&self) -> Option<&WriteError>
pub fn write_error(&self) -> Option<&WriteError>
Returns the writer error without changing its payload or rendering.
Trait Implementations§
Source§impl Debug for ExecuteError
impl Debug for ExecuteError
Source§impl Display for ExecuteError
impl Display for ExecuteError
Source§impl Error for ExecuteError
impl Error for ExecuteError
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 From<ExecuteError> for CompareStepError
impl From<ExecuteError> for CompareStepError
Source§fn from(error: ExecuteError) -> Self
fn from(error: ExecuteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecuteError
impl !UnwindSafe for ExecuteError
impl Freeze for ExecuteError
impl Send for ExecuteError
impl Sync for ExecuteError
impl Unpin for ExecuteError
impl UnsafeUnpin for ExecuteError
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