pub enum ActivityError {
ExecutionFailed(String),
InvalidInput(String),
NotFound(String),
ConditionEvaluationFailed(String),
}Expand description
Activity Error
Error that occurred during activity execution.
Variants§
Trait Implementations§
Source§impl Clone for ActivityError
impl Clone for ActivityError
Source§fn clone(&self) -> ActivityError
fn clone(&self) -> ActivityError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActivityError
impl Debug for ActivityError
Source§impl Display for ActivityError
impl Display for ActivityError
Source§impl Error for ActivityError
impl Error for ActivityError
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()
Source§impl From<ActivityError> for EngineError
impl From<ActivityError> for EngineError
Source§fn from(source: ActivityError) -> Self
fn from(source: ActivityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivityError
impl RefUnwindSafe for ActivityError
impl Send for ActivityError
impl Sync for ActivityError
impl Unpin for ActivityError
impl UnsafeUnpin for ActivityError
impl UnwindSafe for ActivityError
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