# dmd.errorsink

Provides an abstraction for what to do with error messages.

#### Authors

Walter Bright

#### License

Boost License 1.0

Source: errorsink.d

Documentation: https://dlang.org/phobos/dmd_errorsink.html

Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/errorsink.d

- `ErrorSink`

  #### Declaration

  `abstract class `ErrorSink`;`

  Where error/warning/deprecation messages go.

- `ErrorSinkNull`

  #### Declaration

  `class `ErrorSinkNull`: dmd.errorsink.ErrorSink;`

  Just ignores the messages.

- `ErrorSinkStderr`

  #### Declaration

  `class `ErrorSinkStderr`: dmd.errorsink.ErrorSink;`

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