Builds a diagnostic with the default error level.
Stable diagnostic code.
Human-readable message shown to end users.
Severity used by the inspector and host diagnostics.
Builds a diagnostic with the default error level.