#[non_exhaustive]pub enum ActionsError {
Context(String),
InputNotFound(String),
Output(String),
}
Expand description
Error occurred duration the execution of the action
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Context(String)
This error happened while generating the context object
InputNotFound(String)
The input was not found
Output(String)
There was a problem while writing the output
Trait Implementations§
Source§impl Debug for ActionsError
impl Debug for ActionsError
Source§impl Display for ActionsError
impl Display for ActionsError
Source§impl Error for ActionsError
impl Error for ActionsError
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 ActionsError
impl RefUnwindSafe for ActionsError
impl Send for ActionsError
impl Sync for ActionsError
impl Unpin for ActionsError
impl UnwindSafe for ActionsError
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