pub enum DynamicReleaseError {
Show 16 variants
InvalidSignature(String),
AbiIncompatible {
host_abi: u32,
min_abi: u32,
max_abi: u32,
},
UnsupportedDeliveryMode {
allowed: DeliveryChannelMode,
incoming: DeliveryChannelMode,
},
MissingCapability(String),
BrokenDependencyClosure(String),
HashMismatch {
expected: String,
actual: String,
},
NonMonotonicRelease {
current: u64,
incoming: u64,
},
BlobMissing(String),
RouteNotFound(String),
InterfaceMismatch {
expected_interface: String,
actual_interface: String,
},
StateMigrationFailed(String),
UnsafeSwapPoint(String),
StateCatchUpConflict {
base_revision: u64,
live_revision: u64,
},
ProtocolIncompatible(String),
NetworkError(String),
StorageError(String),
}Expand description
Comprehensive typed error taxonomy for manifest verification, negotiation, state recovery, and activation.
Variants§
InvalidSignature(String)
Release manifest signature was absent, malformed, or did not verify under the trusted key.
AbiIncompatible
Release or artifact ABI range does not include the host ABI version.
Fields
UnsupportedDeliveryMode
Release delivery mode is incompatible with the client channel policy.
Fields
allowed: DeliveryChannelModeAllowed client delivery mode.
incoming: DeliveryChannelModeIncoming release delivery mode.
MissingCapability(String)
Host lacks a capability required by the release or one of its artifacts.
BrokenDependencyClosure(String)
Transitive dependency graph or hash closure is broken.
HashMismatch
Downloaded or cached blob bytes failed SHA-256 verification.
Fields
NonMonotonicRelease
Incoming release sequence did not strictly advance over the active sequence.
BlobMissing(String)
Required content-addressed blob could not be found in cache or remote store.
RouteNotFound(String)
Requested route is not declared in the pinned release manifest.
InterfaceMismatch
Mounted component implementation does not satisfy the compile-time contract interface ID or version.
Fields
StateMigrationFailed(String)
Pure background state migration failed or would lose active user draft state.
UnsafeSwapPoint(String)
Hot-swap was deferred because the UI is not at a safe interaction boundary.
StateCatchUpConflict
Delta catch-up from revision R to R+n failed because history wrapped or conflicted.
ProtocolIncompatible(String)
Client/server protocol negotiation found no mutually compatible track or schema.
NetworkError(String)
Network or HTTP/SSE transport failure.
StorageError(String)
Serialization, deserialization, or local storage failure.
Trait Implementations§
Source§impl Clone for DynamicReleaseError
impl Clone for DynamicReleaseError
Source§impl Debug for DynamicReleaseError
impl Debug for DynamicReleaseError
Source§impl Display for DynamicReleaseError
Human-readable diagnostic formatting for DynamicReleaseError.
impl Display for DynamicReleaseError
Human-readable diagnostic formatting for DynamicReleaseError.
impl Eq for DynamicReleaseError
Source§impl Error for DynamicReleaseError
Standard error trait marker for DynamicReleaseError.
impl Error for DynamicReleaseError
Standard error trait marker for DynamicReleaseError.
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()