Enum DiagnosticSeverity
- Namespace
- DialogueDown.Diagnostics
- Assembly
- DialogueDown.dll
How serious a DialogueDown.Diagnostics.Diagnostic is, ordered so Error is the worst: a producer or the result can ask "did anything fail?" by comparing against Error, or "what is the worst?" by taking the maximum. Part of the public diagnostic view (LocatedDiagnostic), so its members carry explicit, stable values.
public enum DiagnosticSeverity
Fields
Error = 2The script is invalid: the reported problem must be fixed.
Info = 0A neutral note: nothing is wrong, but something is worth pointing out.
Warning = 1The script compiles but is suspect — a likely mistake worth surfacing.