Enum barley_runtime::ActionError
source · pub enum ActionError {
ActionFailed(String, String),
OutputConversionFailed(String),
InternalError(&'static str),
NoActionReturn,
}Expand description
Any error that can occur during an action.
Variants§
ActionFailed(String, String)
An error occured internally in the action.
OutputConversionFailed(String)
Action output conversion failed.
InternalError(&'static str)
An internal error occured, and should be reported.
NoActionReturn
An action which should have returned a value did not.
Trait Implementations§
source§impl Clone for ActionError
impl Clone for ActionError
source§fn clone(&self) -> ActionError
fn clone(&self) -> ActionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ActionError
impl Debug for ActionError
source§impl Display for ActionError
impl Display for ActionError
source§impl Error for ActionError
impl Error for ActionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnwindSafe for ActionError
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