#[non_exhaustive]pub enum ExecutionError {
Show 19 variants
Compatibility(CompatibilityError),
Fleet(FleetError),
Infra(InfraError),
Plan(PlanError),
Authorization(AuthorizationError),
Result(ResultError),
Target(TargetRefError),
Mutation(MutationFailure),
UnsupportedOperation(OperationName),
PlanMismatch(String),
MissingIdempotencyKey,
ConfirmationRequired,
MutationPortUnavailable {
domain: &'static str,
host: String,
},
DeadlineExceeded,
HostRequired,
HostNotFound(String),
InvalidParameter {
field: String,
message: String,
},
ProjectNotFound {
host: String,
project: String,
},
Serialization(String),
}Expand description
Failure while executing one canonical Synapse operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Compatibility(CompatibilityError)
Canonical contract validation failed.
Fleet(FleetError)
Fleet topology or transport failed.
Infra(InfraError)
Infrastructure driver failed.
Plan(PlanError)
Operation plan construction or fingerprint validation failed.
Authorization(AuthorizationError)
Product authorization evidence did not match the mutation request.
Result(ResultError)
Canonical operation result construction failed.
Target(TargetRefError)
Canonical target construction failed.
Mutation(MutationFailure)
Infrastructure mutation failed before a terminal result could be built.
UnsupportedOperation(OperationName)
The operation exists but is not handled by this runtime.
PlanMismatch(String)
Supplied plan does not match the exact operation, context, target, or topology.
MissingIdempotencyKey
An idempotent mutation omitted its required idempotency key.
ConfirmationRequired
Synapse policy requires explicit confirmation for disruptive mutations.
A required product mutation port was not configured.
DeadlineExceeded
The mutation deadline passed before admission.
HostRequired
No host was supplied and no unambiguous default could be selected.
HostNotFound(String)
Requested host was absent from the current topology snapshot.
InvalidParameter
A canonical parameter had an unexpected runtime representation.
ProjectNotFound
Compose project discovery could not resolve a usable config file.
Serialization(String)
Typed infrastructure output could not be serialized.
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()