systemprompt-models 0.6.0

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Errors raised while parsing or resolving module manifests.

#[derive(Debug, thiserror::Error)]
pub enum ModuleError {
    #[error(transparent)]
    Yaml(#[from] serde_yaml::Error),

    #[error("Missing module dependencies: {0}")]
    MissingDependencies(String),

    #[error("Circular dependency detected in modules: {0}")]
    Cycle(String),
}