Skip to content

Enum

Enum.Severity

Classifies the severity level of a Luau LSP diagnostic reported by a Script Analysis callback.

Official docs ↗
ItemValueSummary
Enum.Severity.Error1Reports a critical error that indicates a definite problem in the script.
Enum.Severity.Warning2Reports a potential problem that can cause incorrect behavior but does not prevent the script from running.
Enum.Severity.Information3Conveys informational context about the script without indicating a problem.
Enum.Severity.Hint4Provides a subtle suggestion, such as a style improvement or an unused-variable notice.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.