Enum cranefack::ParserError [−][src]
pub enum ParserError { LoopStackOverflow { position: usize, max_depth: usize, }, BadlyClosedLoop { position: usize, }, UnclosedLoop { position: usize, }, }
Expand description
Error type for parser related errors
Variants
Maximum depth of nested loops has been reached
A closing ] without matching [ was found
Show fields
Fields of BadlyClosedLoop
position: usize
There are still som unclosed loops at the end of the source
Show fields
Fields of UnclosedLoop
position: usize
Trait Implementations
Return error message with optional source position and optional source label
Auto Trait Implementations
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError