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
//! Errors raised while decoding `HashMap<String, serde_json::Value>`
//! row payloads produced by the runtime SQL adapter.

#[derive(Debug, Clone, Copy, thiserror::Error, PartialEq, Eq)]
pub enum RowParseError {
    #[error("missing or invalid field: {0}")]
    Missing(&'static str),

    #[error("{0}")]
    OutOfRange(&'static str),
}