pub enum WorkflowError {
NotFound(String),
Validation(String),
Execution(String),
Storage(String),
Serialization(Error),
Unknown(String),
}
Expand description
Workflow-specific error type
Variants§
NotFound(String)
Validation(String)
Execution(String)
Storage(String)
Serialization(Error)
Unknown(String)
Trait Implementations§
Source§impl Debug for WorkflowError
impl Debug for WorkflowError
Source§impl Display for WorkflowError
impl Display for WorkflowError
Source§impl Error for WorkflowError
impl Error for WorkflowError
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<Error> for WorkflowError
impl From<Error> for WorkflowError
Source§impl From<KotobaError> for WorkflowError
impl From<KotobaError> for WorkflowError
Source§fn from(err: KotobaError) -> Self
fn from(err: KotobaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowError
impl !RefUnwindSafe for WorkflowError
impl Send for WorkflowError
impl Sync for WorkflowError
impl Unpin for WorkflowError
impl !UnwindSafe for WorkflowError
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