Skip to content

Error and Warning System Overview

Back to Error Reference

Overview

The compiler uses a structured diagnostic system with four severity levels:

SeverityBehavior
errorCompilation fails. Must be fixed before artifacts can be generated.
warningCompilation succeeds, but the issue should be reviewed. Can be promoted to error with --Werror.
infoInformational note. Does not affect compilation.
hintSuggestion for improvement. Does not affect compilation.

Each diagnostic includes:

  • A numeric error code (format E<NNNN>)
  • A human-readable message
  • Source location (file, line, column) when available
  • Optional fix suggestions

MIT Licensed