pub enum AtentoError {
Io {
path: String,
source: Error,
},
YamlParse {
context: String,
source: Error,
},
JsonSerialize {
message: String,
},
Validation(String),
Execution(String),
StepExecution {
step: String,
reason: String,
},
TypeConversion {
expected: String,
got: String,
},
UnresolvedReference {
reference: String,
context: String,
},
Timeout {
context: String,
timeout_secs: u64,
},
Runner(String),
}Expand description
The main error type for the Atento chain engine.
Variants§
Io
I/O error when reading files
YamlParse
YAML parsing error
JsonSerialize
JSON serialization error
Validation(String)
Chain validation error
Execution(String)
Chain execution error
StepExecution
Step execution error
TypeConversion
Data type conversion error
UnresolvedReference
Reference resolution error
Timeout
Timeout error
Runner(String)
Script runner error
Trait Implementations§
Source§impl Debug for AtentoError
impl Debug for AtentoError
Source§impl Display for AtentoError
impl Display for AtentoError
Source§impl Error for AtentoError
impl Error for AtentoError
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 AtentoError
impl From<Error> for AtentoError
Auto Trait Implementations§
impl Freeze for AtentoError
impl !RefUnwindSafe for AtentoError
impl Send for AtentoError
impl Sync for AtentoError
impl Unpin for AtentoError
impl !UnwindSafe for AtentoError
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