pub enum FenceAcquisitionError {
Show 13 variants
InvalidTarget,
ManagementReceiver,
InvalidMethod,
ArgumentsTooLarge,
AuthorityMismatch,
TargetMismatch,
PayloadMismatch,
NoPendingMutation,
MutationMismatch,
ObservationPending,
InvalidAttempt,
Obligation(FenceObligationError),
Plan(OperationPlanError),
}Expand description
Typed payload/original reservation rejection; no error refunds or releases anything.
Variants§
InvalidTarget
Receiver is not a bounded canonical principal.
ManagementReceiver
This port cannot call the management canister.
InvalidMethod
Method exceeds the exact visible ASCII envelope bound.
ArgumentsTooLarge
Raw arguments exceed the finite input bound.
AuthorityMismatch
Journal is not the exact original acquisition authority.
TargetMismatch
Receiver differs from the original operation target.
PayloadMismatch
Method/arguments differ from the original declared payload digest.
NoPendingMutation
Original mutation was not already reserved.
MutationMismatch
Current journal no longer retains this exact unresolved mutation.
ObservationPending
An observation is pending; original mutation must not be dispatched again.
InvalidAttempt
Acknowledgement attempt is outside the finite original journal range.
Obligation(FenceObligationError)
Original obligation admission failed.
Plan(OperationPlanError)
Original plan authority cannot be derived.
Trait Implementations§
Source§impl Debug for FenceAcquisitionError
impl Debug for FenceAcquisitionError
Source§impl Display for FenceAcquisitionError
impl Display for FenceAcquisitionError
Source§impl Error for FenceAcquisitionError
impl Error for FenceAcquisitionError
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()