cruxx-core 0.2.5

Core types, traits, and runtime for the cruxx agentic DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Registry-specific errors.
use thiserror::Error;

#[derive(Debug, Error)]
pub enum RegistryErr {
    #[error("task not found: {0}")]
    NotFound(String),

    #[error("serialization error: {0}")]
    Serialization(#[from] serde_json::Error),

    #[error("storage error: {0}")]
    Storage(String),

    #[error("CAS conflict on task {0}")]
    Conflict(String),
}