1#![doc = include_str!("../README.md")]
2
3pub mod audit;
4pub mod outdated;
5
6use thiserror::Error;
7
8#[derive(Debug, Error)]
10pub enum Error {
11 #[error("Error parsing JSON: {0}")]
14 SerdeJsonError(#[from] serde_json::Error),
15 #[error("Error parsing JSON (with path): {0}")]
18 SerdePathError(#[from] serde_path_to_error::Error<serde_json::Error>),
19 #[error("Error interpreting program output as UTF-8: {0}")]
22 Utf8Error(#[from] std::str::Utf8Error),
23 #[error("I/O Error: {0}")]
25 StdIoError(#[from] std::io::Error),
26}