pub enum OperationPlanError {
Show 17 variants
UnsupportedVersion(u16),
EmptySelection,
TooManySelected,
TooManyOperations,
InvalidPrincipal(&'static str),
DuplicateSelected(String),
DuplicateOperation(u64),
OperationCountMismatch,
OperationGraphMismatch {
expected: u64,
actual: u64,
},
UnselectedTarget(String),
UnusedTarget(String),
UnknownOperation(u64),
BudgetTooLarge,
AssignedBudgetExceeded,
Checksum(ChecksumError),
Inventory(InventoryRecordError),
Attempt(AttemptJournalRecordError),
}Expand description
Typed original plan identity, structural binding or finite allowance rejection.
Variants§
UnsupportedVersion(u16)
Only protocol generation v1 is maintained.
EmptySelection
At least one exact physical selection is required.
TooManySelected
Exact selection exceeds the maintained inventory bound.
TooManyOperations
Operation bindings exceed the maintained graph count.
InvalidPrincipal(&'static str)
Principal text fails canonical admission at this named field.
DuplicateSelected(String)
Equivalent physical target was explicitly selected twice.
DuplicateOperation(u64)
Operation identity was bound more than once.
OperationCountMismatch
Operation table does not have one binding per graph node.
OperationGraphMismatch
Exact table identity differs from its corresponding canonical graph node.
UnselectedTarget(String)
Exact operation target lies outside explicit selection.
UnusedTarget(String)
A selected physical target has no bound operation.
UnknownOperation(u64)
Requested exact operation is absent.
BudgetTooLarge
Aggregate ceilings overflow or exceed the maintained maximum.
AssignedBudgetExceeded
Assigned original allowances exceed a declared mutation/observation ceiling.
Checksum(ChecksumError)
Digest text fails canonical admission.
Inventory(InventoryRecordError)
Owning inventory rejects selected identity.
Attempt(AttemptJournalRecordError)
Existing attempt authority boundary rejected derivation.
Trait Implementations§
Source§impl Debug for OperationPlanError
impl Debug for OperationPlanError
Source§impl Display for OperationPlanError
impl Display for OperationPlanError
Source§impl Error for OperationPlanError
impl Error for OperationPlanError
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()