ddmd.errors

Undocumented in source.

Members

Aliases

COLOR_BLACK
alias COLOR_BLACK = COLOR.COLOR_BLACK
Undocumented in source.
COLOR_BLUE
alias COLOR_BLUE = COLOR.COLOR_BLUE
Undocumented in source.
COLOR_CYAN
alias COLOR_CYAN = COLOR.COLOR_CYAN
Undocumented in source.
COLOR_GREEN
alias COLOR_GREEN = COLOR.COLOR_GREEN
Undocumented in source.
COLOR_MAGENTA
alias COLOR_MAGENTA = COLOR.COLOR_MAGENTA
Undocumented in source.
COLOR_RED
alias COLOR_RED = COLOR.COLOR_RED
Undocumented in source.
COLOR_WHITE
alias COLOR_WHITE = COLOR.COLOR_WHITE
Undocumented in source.
COLOR_YELLOW
alias COLOR_YELLOW = COLOR.COLOR_YELLOW
Undocumented in source.
_isatty
alias _isatty = isatty
Undocumented in source.

Enums

COLOR
enum COLOR
Undocumented in source.
FOREGROUND_WHITE
anonymousenum FOREGROUND_WHITE
Undocumented in source.

Functions

_fileno
int _fileno(FILE* f)
Undocumented in source. Be warned that the author may not have intended to support it.
deprecation
void deprecation(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
deprecationSupplemental
void deprecationSupplemental(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(Loc loc, const(char)* format, ...)

Print error message

error
void error(const(char)* filename, uint linnum, uint charnum, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
errorSupplemental
void errorSupplemental(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
fatal
void fatal()

Call this after printing out fatal error messages to clean up and exit the compiler.

halt
void halt()

Try to stop forgetting to remove the breakpoints from release builds.

isConsoleColorSupported
bool isConsoleColorSupported()
Undocumented in source. Be warned that the author may not have intended to support it.
isatty
int isatty(int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
resetConsoleColor
void resetConsoleColor()
Undocumented in source. Be warned that the author may not have intended to support it.
setConsoleColor
void setConsoleColor(COLOR color, bool bright)
Undocumented in source. Be warned that the author may not have intended to support it.
setConsoleColorBright
void setConsoleColorBright(bool bright)
Undocumented in source. Be warned that the author may not have intended to support it.
vdeprecation
void vdeprecation(Loc loc, const(char)* format, va_list ap, const(char)* p1, const(char)* p2)
Undocumented in source. Be warned that the author may not have intended to support it.
vdeprecationSupplemental
void vdeprecationSupplemental(Loc loc, const(char)* format, va_list ap)
Undocumented in source. Be warned that the author may not have intended to support it.
verror
void verror(Loc loc, const(char)* format, va_list ap, const(char)* p1, const(char)* p2, const(char)* header)
Undocumented in source. Be warned that the author may not have intended to support it.
verrorPrint
void verrorPrint(Loc loc, COLOR headerColor, const(char)* header, const(char)* format, va_list ap, const(char)* p1, const(char)* p2)
Undocumented in source. Be warned that the author may not have intended to support it.
verrorSupplemental
void verrorSupplemental(Loc loc, const(char)* format, va_list ap)
Undocumented in source. Be warned that the author may not have intended to support it.
vwarning
void vwarning(Loc loc, const(char)* format, va_list ap)
Undocumented in source. Be warned that the author may not have intended to support it.
vwarningSupplemental
void vwarningSupplemental(Loc loc, const(char)* format, va_list ap)
Undocumented in source. Be warned that the author may not have intended to support it.
warning
void warning(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
warningSupplemental
void warningSupplemental(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

consoleAttributes
WORD consoleAttributes(HANDLE h)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta