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.errorsink
Provides an abstraction for what to do with error messages.
Authors:
License:
Source errorsink.d
Documentation https://dlang.org/phobos/dmd_errorsink.html
- abstract class
ErrorSink
; - Where error/warning/deprecation messages go.
- class
ErrorSinkNull
: dmd.errorsink.ErrorSink; - Just ignores the messages.
- class
ErrorSinkLatch
: dmd.errorsink.ErrorSinkNull; - Ignores the messages, but sets sawErrors for any calls to error()
- class
ErrorSinkStderr
: dmd.errorsink.ErrorSink; - Simplest implementation, just sends messages to stderr. See also: ErrorSinkCompiler.
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on Sun Nov 17 01:06:24 2024