Severity

@Serializable
enum Severity : Enum<Severity> , Symbolic<String>

Diagnostic Severity

Enumerates severity levels for diagnostic events issued by tools such as compilers, linters and formatters. Severity is typically mapped from a tool's own internal severity levels.

Entries

Link copied to clipboard

An informational diagnostic, typically a non-critical issue. By default, informational diagnostics are not shown unless the user is operating from a development context (for example, running a linter).

Link copied to clipboard

A warning diagnostic, typically a non-critical issue which may require user attention. Warnings are shown by default in most contexts.

Link copied to clipboard

A critical diagnostic which requires user attention. Errors are shown by default in all contexts.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val symbol: String

Functions

Link copied to clipboard
fun valueOf(value: String): Severity

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.