openeruka 0.2.0

Self-hosted knowledge state memory server for AI agents — types, client, SQLite backend, REST API, MCP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Error types for openeruka.

use thiserror::Error;

#[derive(Debug, Error)]
pub enum ErukaError {
    #[error("invalid field path: {0}")]
    InvalidFieldPath(String),

    #[error("invalid knowledge state: {0}")]
    InvalidKnowledgeState(String),

    #[error("invalid confidence value: {0}")]
    InvalidConfidence(String),

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