Next:
Known caveats
, Previous:
Safety measures
, Up:
Lexer & Parsing reference
[
Contents
]
6.4.2 Error list
¶
Grammar Error : Triggered when Megaparsec fails to lex or parse the source code due to
invalid syntax
.
Double Main Definition : Raised when more than one main function was defined in the program.