pub enum SemanticError {
UndefinedAgent {
name: String,
location: String,
},
UndefinedWorkflow {
name: String,
location: String,
},
UndefinedStep {
name: String,
workflow: String,
},
UndefinedReference {
reference: String,
location: String,
},
DuplicateDefinition {
name: String,
kind: String,
},
TypeMismatch {
expected: String,
found: String,
location: String,
},
CircularDependency {
items: Vec<String>,
},
InvalidDuration {
value: String,
location: String,
},
MissingRequiredField {
field: String,
declaration: String,
},
InvalidTriggerType {
trigger: String,
},
InvalidProcessType {
process: String,
},
InvalidBackoffStrategy {
strategy: String,
},
}
Variants§
UndefinedAgent
UndefinedWorkflow
UndefinedStep
UndefinedReference
DuplicateDefinition
TypeMismatch
CircularDependency
InvalidDuration
MissingRequiredField
InvalidTriggerType
InvalidProcessType
InvalidBackoffStrategy
Trait Implementations§
Source§impl Clone for SemanticError
impl Clone for SemanticError
Source§fn clone(&self) -> SemanticError
fn clone(&self) -> SemanticError
Returns a duplicate 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 SemanticError
impl Debug for SemanticError
Auto Trait Implementations§
impl Freeze for SemanticError
impl RefUnwindSafe for SemanticError
impl Send for SemanticError
impl Sync for SemanticError
impl Unpin for SemanticError
impl UnwindSafe for SemanticError
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