pub enum Error {
Io(Error),
Plan(PlanError),
Invalid(String),
Conversion(String),
Timeout {
backend: String,
},
Limit(String),
Security(String),
RoutesFailed(String),
}Expand description
Failures from registration, identification, planning, and execution.
Errors raised while attempting routes are rendered into Self::RoutesFailed
by Converter::convert, rather than returned as their original variants.
Variants§
Io(Error)
A filesystem or other I/O operation failed.
Plan(PlanError)
Graph registration or route search failed.
Invalid(String)
Invalid caller input or unsupported request parameters.
Conversion(String)
An adapter operation or artifact format check failed.
Timeout
An adapter reported exceeding its time budget.
Limit(String)
A checked resource budget was exceeded.
Security(String)
A policy or input/output safety check rejected the operation.
RoutesFailed(String)
Every attempted route failed, with route descriptions and rendered errors.
Only routes returned within the planner’s budgets are attempted. This does not mean every possible graph route was tried.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()