pub enum MetricRoutingError {
Show 15 variants
InvalidCoordinate,
InvalidLengthInterval,
InvalidMobilityProfile,
EmptyRouteEvidence,
InexactRouteEvidence,
IncompleteMetricEvidence,
ResponseEndpointMismatch,
MissingGeometry(Box<ObjectId>),
Unavailable(String),
NoTargets,
InvalidTolerance,
InconsistentResponse,
InvalidClimb,
ConflictingConnector,
InvalidCostFactor,
}Expand description
Fail-closed metric routing errors.
Variants§
InvalidCoordinate
A coordinate was NaN or infinite.
InvalidLengthInterval
A scalar length was negative, non-finite, or had reversed bounds.
InvalidMobilityProfile
A mobility dimension was negative or non-finite.
EmptyRouteEvidence
A route response omitted its path or traversed-object evidence.
InexactRouteEvidence
Route provenance was approximate or blank.
IncompleteMetricEvidence
A blocked verdict did not prove complete obstacle/topology coverage.
ResponseEndpointMismatch
A backend returned a route for different endpoints than requested.
MissingGeometry(Box<ObjectId>)
Required geometry was not available for the named object.
The backend deliberately refused an unsupported or partial query.
NoTargets
A many-target query named no target.
InvalidTolerance
A farthest-point tolerance was negative or non-finite.
InconsistentResponse
A backend answered with a target the request does not have, or claimed convergence for an interval wider than the tolerance.
InvalidClimb
A climb’s vertical factor was negative or non-finite.
ConflictingConnector
One connector was given twice with different kinds.
InvalidCostFactor
A travel cost factor was below one or non-finite.
Trait Implementations§
Source§impl Clone for MetricRoutingError
impl Clone for MetricRoutingError
Source§impl Debug for MetricRoutingError
impl Debug for MetricRoutingError
Source§impl Display for MetricRoutingError
impl Display for MetricRoutingError
impl Eq for MetricRoutingError
Source§impl Error for MetricRoutingError
impl Error for MetricRoutingError
1.30.0 · 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()