The diagnostic's serverity.

Variables

@:value(cast 1)@:impl@:enuminlineread onlyError:DiagnosticSeverity = 1

Reports an error.

@:value(cast 4)@:impl@:enuminlineread onlyHint:DiagnosticSeverity = 4

Reports a hint.

@:value(cast 3)@:impl@:enuminlineread onlyInformation:DiagnosticSeverity = 3

Reports an information.

@:value(cast 2)@:impl@:enuminlineread onlyWarning:DiagnosticSeverity = 2

Reports a warning.