systemprompt_models/errors/row.rs
1//! Errors raised while decoding `HashMap<String, serde_json::Value>`
2//! row payloads produced by the runtime SQL adapter.
3
4#[derive(Debug, Clone, Copy, thiserror::Error, PartialEq, Eq)]
5pub enum RowParseError {
6 #[error("missing or invalid field: {0}")]
7 Missing(&'static str),
8
9 #[error("{0}")]
10 OutOfRange(&'static str),
11}