mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 03:33:44 +03:00
re add io error to parsererror
This commit is contained in:
parent
8c60774b29
commit
fbe466661a
@ -27,6 +27,9 @@ pub enum ParserError {
|
|||||||
#[error("Cannot read from the provided file path - {:?}", _0)]
|
#[error("Cannot read from the provided file path - {:?}", _0)]
|
||||||
FileReadError(PathBuf),
|
FileReadError(PathBuf),
|
||||||
|
|
||||||
|
#[error("{}", _0)]
|
||||||
|
IoError(#[from] std::io::Error),
|
||||||
|
|
||||||
#[error("{}", _0)]
|
#[error("{}", _0)]
|
||||||
JsonError(#[from] serde_json::error::Error),
|
JsonError(#[from] serde_json::error::Error),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user