lsp / org.pinelang.lsp.lsp.models / LSPDiagnostic / severity
severity¶
val severity:
Int
?
The diagnostic’s severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.
1: Reports an error. 2: Reports a warning. 3: Reports an information.