diff --git a/grammar/src/errors/parser.rs b/grammar/src/errors/parser.rs index 36e569c21a..12753ee0df 100644 --- a/grammar/src/errors/parser.rs +++ b/grammar/src/errors/parser.rs @@ -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),