The type of the diagnostic handler see verrorPrint for arguments
The type of the fatal error handler
Error message sink for D compiler.
Color highlighting to classify 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.
Same as deprecation, but takes a va_list parameter, and optionally additional message prefixes.
Same as deprecationSupplemental, but takes a va_list parameter.
Same as error, but takes a va_list parameter, and optionally additional message prefixes.
Same as errorSupplemental, but takes a va_list parameter.
Same as message, but takes a va_list parameter.
Same as tip, but takes a va_list parameter.
Same as warning, but takes a va_list parameter.
Same as warningSupplemental, but takes a va_list parameter.
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.