Description
Source code error pretty printing.
Description
An extremely customizable error pretty printer that can handle many kinds of error formatting. It can handle errors that are connected, disconnected, and those spanning multiple lines.
You can get started by importing the Errata
module.
README.md
Errata
Errata is an extremely customizable error pretty printer that can handle many kinds of error formatting.
Features
Errata can handle errors that are all over the source or errors that are connected to each other spanning multiple lines. You can be as simple or as fancy as you like!
You can also customize the format of the printer in several ways:
- Custom messages and labels
- Custom character sets for symbols
- Highlighting the source, messages, and symbols
Examples
A clean, modern error message that is trying to be helpful:
A busy error message with underlining and connections: