pub enum SpringControllerParserError {
PestError(Box<Error<Rule>>),
NoControllers,
MethodAnnotationError(String),
ClassNameError,
ExtractionError(String),
}Expand description
The SpringControllerParserError enum represents errors that can haapen during parsing
Variants§
PestError(Box<Error<Rule>>)
Error returned by Pest parser
NoControllers
No controllers were found in the source
MethodAnnotationError(String)
Failed to extract method annotation arguments
ClassNameError
Could not extract class name
ExtractionError(String)
Eextraction errors
Trait Implementations§
Source§impl Debug for SpringControllerParserError
impl Debug for SpringControllerParserError
Source§impl Error for SpringControllerParserError
impl Error for SpringControllerParserError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SpringControllerParserError
impl RefUnwindSafe for SpringControllerParserError
impl Send for SpringControllerParserError
impl Sync for SpringControllerParserError
impl Unpin for SpringControllerParserError
impl UnwindSafe for SpringControllerParserError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more