pub enum RvmError {
Show 34 variants
PartitionNotFound,
InvalidPartitionState,
PartitionLimitExceeded,
SplitPreconditionFailed,
MergePreconditionFailed,
MigrationTimeout,
VcpuNotFound,
VcpuLimitReached,
InsufficientCapability,
StaleCapability,
CapabilityTypeMismatch,
DelegationDepthExceeded,
CapabilityConsumed,
WitnessVerificationFailed,
WitnessChainBroken,
WitnessLogFull,
ProofInvalid,
ProofTierInsufficient,
ProofBudgetExceeded,
CoherenceBelowThreshold,
MinCutBudgetExceeded,
MemoryOverlap,
AlignmentError,
InvalidTierTransition,
OutOfMemory,
DeviceLeaseNotFound,
DeviceLeaseExpired,
DeviceLeaseConflict,
CheckpointNotFound,
CheckpointCorrupted,
FailureEscalated,
ResourceLimitExceeded,
Unsupported,
InternalError,
}Expand description
The unified error type for RVM operations.
Variants§
PartitionNotFound
The requested partition was not found.
InvalidPartitionState
The partition is in the wrong lifecycle state for this operation.
PartitionLimitExceeded
Maximum partition count has been reached (DC-12).
SplitPreconditionFailed
The partition split preconditions were not met.
MergePreconditionFailed
The partition merge preconditions were not met (DC-11).
MigrationTimeout
Partition migration timed out (DC-7).
VcpuNotFound
The requested vCPU was not found.
VcpuLimitReached
The partition has no available vCPU slots.
InsufficientCapability
A capability check failed – insufficient rights.
StaleCapability
The capability token is stale (epoch mismatch).
CapabilityTypeMismatch
The capability type does not match the resource.
DelegationDepthExceeded
Maximum delegation depth exceeded.
CapabilityConsumed
The capability has already been consumed (GRANT_ONCE).
WitnessVerificationFailed
A witness verification failed.
WitnessChainBroken
The witness hash chain is broken (tamper detected).
WitnessLogFull
The witness log is full and drain is not keeping up.
ProofInvalid
A proof validation failed.
ProofTierInsufficient
The proof tier is insufficient for this operation.
ProofBudgetExceeded
Proof verification exceeded its time budget.
CoherenceBelowThreshold
The coherence score is below the required threshold.
MinCutBudgetExceeded
The mincut budget was exceeded (DC-2 fallback triggered).
MemoryOverlap
The requested memory region overlaps with an existing mapping.
AlignmentError
An address is not properly aligned.
InvalidTierTransition
The memory tier transition is invalid.
OutOfMemory
No physical memory is available for allocation.
DeviceLeaseNotFound
The requested device lease was not found.
DeviceLeaseExpired
The device lease has expired.
DeviceLeaseConflict
A conflicting device lease exists.
CheckpointNotFound
The recovery checkpoint was not found.
CheckpointCorrupted
The recovery checkpoint is corrupted.
FailureEscalated
Failure escalated beyond recovery capability (DC-14).
ResourceLimitExceeded
The operation would exceed a configured resource limit.
Unsupported
The operation is not supported in the current configuration.
InternalError
An internal invariant was violated (should not occur).