pub enum WfeError {
WorkflowNotFound(String),
DefinitionNotFound {
id: String,
version: u32,
},
EventNotFound(String),
SubscriptionNotFound(String),
StepNotFound(usize),
LockFailed(String),
Persistence(String),
Serialization(Error),
StepExecution(String),
Cancelled,
Other(Box<dyn Error + Send + Sync>),
}Expand description
Wfeerror.
Variants§
WorkflowNotFound(String)
Workflownotfound.
DefinitionNotFound
Definitionnotfound.
EventNotFound(String)
Eventnotfound.
SubscriptionNotFound(String)
Subscriptionnotfound.
StepNotFound(usize)
Stepnotfound.
LockFailed(String)
Lockfailed.
Persistence(String)
Persistence.
Serialization(Error)
Serialization.
StepExecution(String)
Stepexecution.
Cancelled
Cancelled.
Other(Box<dyn Error + Send + Sync>)
Other.
Trait Implementations§
Source§impl Error for WfeError
impl Error for WfeError
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 WfeError
impl !RefUnwindSafe for WfeError
impl Send for WfeError
impl Sync for WfeError
impl Unpin for WfeError
impl UnsafeUnpin for WfeError
impl !UnwindSafe for WfeError
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