Module wright::errors
[−]
[src]
Error module. Contains traits and Constants for error printing.
Structs
ErrorToDisplay |
ErrorToDisplay is an intermediate type used to go from a raw error into a format that can be printed easily. |
Enums
ErrorLevel |
Enum for error levels. |
Constants
ARROW_COLOR |
Color for underlining arrows for error spans. |
BAR_COLOR |
Color for dividing bars used when displaying errors. |
CONTENT_COLOR |
Color for source code that is displayed in error reporting. |
ERROR_COLORS |
[ Deprecated ] Color code for errors used throughout entire error reporting system. |
INFO_COLOR |
Color for info line displayed. |
MODULE_COLOR |
Color for modules when printed by the compiler. |
NAME_COLOR |
Color for names which are printed by the compiler. |
Traits
Error |
Trait for Errors. Any error used throughout the wright compiler/interpreter must implement this trait for consistency. |