dmd.errorsink

Provides an abstraction for what to do with error messages.

Authors

Walter Bright

Source: errorsink.d

  • Declaration

    abstract class ErrorSink;

    Where error/warning/deprecation messages go.

  • Declaration

    class ErrorSinkNull: dmd.errorsink.ErrorSink;

    Just ignores the messages.

  • Declaration

    class ErrorSinkStderr: dmd.errorsink.ErrorSink;

    Simplest implementation, just sends messages to stderr. See also: ErrorSinkCompiler.