MARS documentation
Rust librariesmars-shard

mars-shard · error

Public declarations and documentation for mars-shard::error.

Prototype / draft — separate from production registry operations.

Package: mars-shard · Workspace version: 0.1.0 · Module: error

Status: prototype / draft. This is not the production registry topology.

This reference follows declared modules and public syntax, including public implementation methods. Function bodies and constant values are omitted. Feature conditions are retained. Private-module re-exports and trait resolution require the compiler; not every declaration is a root import.

error::ShardError

#[derive(Debug, Clone, thiserror::Error)]
pub enum ShardError {
    #[error("GAL anchoring error: {0}")]
    GalError(String),
    #[error("affinity error: {0}")]
    AffinityError(String),
    #[error("topology error: {0}")]
    TopologyError(String),
    #[error("resolution error: {0}")]
    ResolutionError(String),
    #[error("shadow copy error: {0}")]
    ShadowError(String),
    #[error("lifecycle error: {0}")]
    LifecycleError(String),
    #[error("cross-shard error: {0}")]
    CrossShardError(String),
    #[error("serialization error: {0}")]
    SerializationError(String),
    #[error("not found: {0}")]
    NotFound(String),
    #[error("invalid state transition: {0}")]
    InvalidTransition(String),
    #[error("timeout: {0}")]
    Timeout(String),
    #[error("cache error: {0}")]
    CacheError(String),
    #[error("validation error: {0}")]
    ValidationError(String),
}

Source line: 2.

Source provenance

Source: mars-shard/src/error.rs · SHA-256 804b19474c0db3cd3af79532400dad976381d025cc4e0c2d58d4f46ba2dcdc8b. Package overview.

On this page