re add io error to parsererror

This commit is contained in:
gluaxspeed 2021-01-26 14:41:41 -05:00
parent 8c60774b29
commit fbe466661a

View File

@ -27,6 +27,9 @@ pub enum ParserError {
#[error("Cannot read from the provided file path - {:?}", _0)]
FileReadError(PathBuf),
#[error("{}", _0)]
IoError(#[from] std::io::Error),
#[error("{}", _0)]
JsonError(#[from] serde_json::error::Error),