#[non_exhaustive]pub enum ExecutionError {
Show 13 variants
UnknownWorkflow(String),
UnknownStep {
workflow: String,
step: String,
},
Circular(String),
Operation(OperationError),
Expression(ExpressionError),
Select(SelectError),
Criterion(CriterionError),
Client(ClientError),
BadRequest {
step: String,
reason: String,
},
Limit {
limit: &'static str,
at: usize,
},
Unsupported(String),
NotWaiting,
Awaiting {
method: String,
url: String,
},
}Expand description
Why a run could not continue.
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.
UnknownWorkflow(String)
The description holds no workflow by that name.
UnknownStep
A goto named a step the workflow does not have.
Circular(String)
dependsOn describes a circle.
Operation(OperationError)
The step’s operation could not be found.
Expression(ExpressionError)
A runtime expression could not be evaluated.
Select(SelectError)
A value or selector could not be resolved.
Criterion(CriterionError)
A criterion could not be decided.
Client(ClientError)
The client could not carry a request out.
BadRequest
The request could not be assembled.
Limit
A limit stopped the run — most likely a loop.
Unsupported(String)
Something Arazzo allows that this crate does not execute.
NotWaiting
supply was called when no request was outstanding.
Awaiting
advance was called again before the outstanding request was
answered.
Trait Implementations§
Source§impl Debug for ExecutionError
impl Debug for ExecutionError
Source§impl Display for ExecutionError
impl Display for ExecutionError
Source§impl Error for ExecutionError
impl Error for ExecutionError
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<ClientError> for ExecutionError
impl From<ClientError> for ExecutionError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<CriterionError> for ExecutionError
impl From<CriterionError> for ExecutionError
Source§fn from(source: CriterionError) -> Self
fn from(source: CriterionError) -> Self
Converts to this type from the input type.
Source§impl From<ExpressionError> for ExecutionError
impl From<ExpressionError> for ExecutionError
Source§fn from(source: ExpressionError) -> Self
fn from(source: ExpressionError) -> Self
Converts to this type from the input type.
Source§impl From<SelectError> for ExecutionError
impl From<SelectError> for ExecutionError
Source§fn from(source: SelectError) -> Self
fn from(source: SelectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExecutionError
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnsafeUnpin for ExecutionError
impl UnwindSafe for ExecutionError
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