Module err

Module err 

Source

Structsยง

InvalidToken
An error signaling that a different kind of token was expected. Returned by the various TryFrom impls.
ParseError
Errors during parsing.

Enumsยง

ParseErrorKind ๐Ÿ”’
Kinds of errors.
Span ๐Ÿ”’
Unfortunately, we have to deal with both cases.
TokenKind ๐Ÿ”’

Traitsยง

SpanLike ๐Ÿ”’

Functionsยง

perr ๐Ÿ”’
This is a free standing function instead of an associated one to reduce noise around parsing code. There are lots of places that create errors, we I wanna keep them as short as possible.