murmer 0.2.1

A distributed actor framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Error types for the orchestrator layer.

/// Errors that can occur during orchestrator operations.
#[derive(Debug, thiserror::Error)]
pub enum OrchestratorError {
    #[error("no eligible nodes for placement: {reason}")]
    NoEligibleNodes { reason: String },

    #[error("spec already exists: {label}")]
    SpecAlreadyExists { label: String },

    #[error("spec not found: {label}")]
    SpecNotFound { label: String },

    #[error("not the current leader")]
    NotLeader,
}