Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Donate
- Resources
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# dmd.errors

Compiler implementation of the D programming language.
Authors:
Walter Bright
License:
Boost License 1.0

Source: errors.d

enum `Classification`: Color;
  Color highlighting to classify messages
  `error`
    for errors
  `gagged`
    for `gagged` errors
  `warning`
    for warnings
  `deprecation`
    for deprecations
void `error`(ref const Loc `loc`, const(char)* `format`, ...);
  Print `error` message
void `fatal`();
  Call this after printing out `fatal` error messages to clean up and exit the compiler.
void `halt`();
  Try to stop forgetting to remove the breakpoints from release builds.
enum `HIGHLIGHT`: ubyte;
  Embed these highlighting commands in the text stream. `HIGHLIGHT`.Escape indicats a Color follows.

Copyright © 1999-2018 by the D Language Foundation | Page generated by Ddoc on Wed Feb 7 19:52:26 2018