rschema_core/
error.rs

1/// This type represents all possible errors that can occur when generate or write JSON Schema string.
2/// 
3#[derive(Debug, thiserror::Error)]
4pub enum Error {
5    #[error(transparent)]
6    IoError(#[from] std::io::Error),
7
8    #[error(transparent)]
9    SerdeJsonError(#[from] serde_json::Error),
10}