Skip to main content

taudit_core/
error.rs

1/// Core error type — no I/O variants. Adapters wrap this in their own errors.
2#[derive(Debug, thiserror::Error)]
3pub enum TauditError {
4    #[error("parse error: {0}")]
5    Parse(String),
6
7    #[error("invalid graph: {0}")]
8    InvalidGraph(String),
9
10    #[error("analysis error: {0}")]
11    Analysis(String),
12
13    #[error("report error: {0}")]
14    Report(String),
15}