diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-03-03 09:07:53 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2023-03-03 09:31:42 +0100 |
commit | 4e3e15ee9f3a3495990b60460c3029daba5e849e (patch) | |
tree | f4947cb8532cf6ecbbf7d406175f3c6a85a8e989 | |
parent | 0f0d1dc7bdcc45c7dc75c5f5ecac12e85a5ceba7 (diff) |
Add serde_json error variant
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 6bb2901..1c2e9c4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -64,6 +64,9 @@ pub enum Error { #[error("Fragment Error: {}", .1.display())] FragmentError(#[source] FragmentError, PathBuf), + #[error(transparent)] + Json(#[from] serde_json::Error), + #[error("Version error")] Version(#[from] VersionError), |