Function called when errors are recorded in production mode.
This callback provides an ErrorLox which provides the attributes of an OutputLox
plus some error
specific ones. The provided history is a list of all recent logs until the error was streamed out.
Function called when errors are recorded in development mode.
This callback provides an ErrorLox which provides the attributes of an OutputLox
plus some error
specific ones. The provided history is a list of all recent logs until the error was streamed out.
Generated using TypeDoc
Output stream callbacks for the LoxerOptions