rsigma_runtime/error.rs
1/// Errors from the rsigma runtime (streaming I/O, processing, engine operations).
2#[derive(Debug, thiserror::Error)]
3pub enum RuntimeError {
4 /// I/O error (stdin read, file write, etc.)
5 #[error("I/O error: {0}")]
6 Io(#[from] std::io::Error),
7 /// JSON serialization error in a sink.
8 #[error("serialization error: {0}")]
9 Serialization(#[from] serde_json::Error),
10}