diff options
Diffstat (limited to 'src/fexpr/mod.rs')
-rw-r--r-- | src/fexpr/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fexpr/mod.rs b/src/fexpr/mod.rs index 2bdbfe7..452d66c 100644 --- a/src/fexpr/mod.rs +++ b/src/fexpr/mod.rs @@ -3,7 +3,7 @@ //! This module contains methods to parse a given string into an abstract filter tree, check its //! type and convert it to a [`Filter`][super::filters::Filter]. // Make it available in the grammar mod. -use super::{filters, FightOutcome, SearchField}; +use super::{filters, playerclass::PlayerClass, FightOutcome, SearchField}; use std::{error, fmt}; @@ -44,6 +44,8 @@ pub enum FErrorKind { InvalidTimestamp(#[from] chrono::format::ParseError), #[error("invalid boss name")] InvalidBoss, + #[error("invalid class name")] + InvalidClass, } /// Shortcut to create a new parser and parse the given input. |