Enum
Enum.Severity
Classifies the severity level of a Luau LSP diagnostic reported by a Script Analysis callback.
| Item | Value | Summary |
|---|---|---|
| Enum.Severity.Error | 1 | Reports a critical error that indicates a definite problem in the script. |
| Enum.Severity.Warning | 2 | Reports a potential problem that can cause incorrect behavior but does not prevent the script from running. |
| Enum.Severity.Information | 3 | Conveys informational context about the script without indicating a problem. |
| Enum.Severity.Hint | 4 | Provides 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.