The type of the diagnostic handler see verrorReport for arguments
The type of the fatal error handler
Error message sink for D compiler.
Color highlighting to classify messages
Constants used to discriminate kinds of error messages.
Embed these highlighting commands in the text stream. HIGHLIGHT.Escape indicates a Color follows.
Print a deprecation message, may increase the global warning or error count depending on whether deprecations are ignored.
Print additional details about a deprecation message. Doesn't increase the error count, or print an additional deprecation prefix.
Print an error message, increasing the global error count.
Same as above, but takes a filename and line information arguments as separate parameters.
Print additional details about an error message. Doesn't increase the error count or print an additional error prefix.
Call this after printing out fatal error messages to clean up and exit the compiler. You can also set a fatalErrorHandler to override this behaviour.
Try to stop forgetting to remove the breakpoints from release builds.
Print a verbose message. Doesn't prefix or highlight messages.
Same as above, but doesn't take a location argument.
Print a tip message with the prefix and highlighting.
Implements error, warning, deprecation, message, and tip. Report a diagnostic error, taking a va_list parameter, and optionally additional message prefixes. Whether the message gets printed depends on runtime values of DiagnosticReporting and global gagging.
Implements errorSupplemental, warningSupplemental, and deprecationSupplemental. Report an addition diagnostic error, taking a va_list parameter. Whether the message gets printed depends on runtime values of DiagnosticReporting and global gagging.
Print a warning message, increasing the global warning count.
Print additional details about a warning message. Doesn't increase the warning count or print an additional warning prefix.
The diagnostic handler. If non-null it will be called for every diagnostic message issued by the compiler. If it returns false, the message will be printed to stderr as usual.
The fatal error handler. If non-null it will be called for every fatal() call issued by the compiler.
Functions for raising errors.