View Source Elnom.Error (elnom v0.1.0)
Error struct indicating a recoverable error has occurred during parsing.
The kind
field is an atom indicating the kind of error that occurred.
The buffer
field holds the input buffer at the time the error occurred.
Summary
Functions
Dumps the parser output to the console if the parser returns an error.
Create a new Error struct.
Functions
Dumps the parser output to the console if the parser returns an error.
context
is any value (usually a string) that will be printed before the
error message.
Create a new Error struct.