Improved bug implementations
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@ pub struct AstError<'a, T> {
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum ErrorCode {
|
||||
InvalidStatement = 200,
|
||||
InvalidStatement,
|
||||
AstGenBug,
|
||||
}
|
||||
|
||||
impl<T> From<pest::error::Error<Rule>> for ParseError<'_, T> {
|
||||
|
||||
Reference in New Issue
Block a user