ploidy_core/error.rs
1#[derive(Debug, thiserror::Error)]
2pub enum SerdeError {
3 #[error(transparent)]
4 Json(#[from] serde_json::Error),
5 #[error(transparent)]
6 JsonWithPath(#[from] serde_path_to_error::Error<serde_json::Error>),
7 #[error(transparent)]
8 Yaml(#[from] serde_yaml::Error),
9 #[error(transparent)]
10 YamlWithPath(#[from] serde_path_to_error::Error<serde_yaml::Error>),
11}