summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index e6afeaa..f981f14 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -106,9 +106,11 @@ impl From<std::io::Error> for MLError {
106 106
107impl From<serde_json::error::Error> for MLError { 107impl From<serde_json::error::Error> for MLError {
108 fn from(value: serde_json::error::Error) -> Self { 108 fn from(value: serde_json::error::Error) -> Self {
109 Self { etype: ErrorType::LibJson, message: value.to_string() } 109 Self {
110 etype: ErrorType::LibJson,
111 message: value.to_string(),
112 }
110 } 113 }
111
112} 114}
113 115
114impl MLError { 116impl MLError {