Expand description
Canonical diagnostic codes, categories, severities, and tags. Diagnostic codes, severity levels, tags, and categories.
This module contains the canonical definitions of all diagnostic codes used throughout the Perl LSP ecosystem. These codes are stable and can be referenced in documentation and error messages.
§Code Ranges
| Range | Category |
|---|---|
| PL001-PL099 | Parser diagnostics |
| PL100-PL199 | Strict/warnings |
| PL200-PL299 | Package/module |
| PL300-PL399 | Subroutine |
| PL400-PL499 | Best practices |
| PL500-PL599 | Deprecated syntax |
| PL600-PL699 | Security |
| PL700-PL799 | Import |
| PL800-PL899 | Heredoc anti-patterns |
| PL900-PL999 | Version compatibility |
| PC001-PC005 | Perl::Critic violations |
Enums§
- Diagnostic
Category - Category of diagnostic codes.
- Diagnostic
Code - Stable diagnostic codes for Perl LSP.
- Diagnostic
Severity - Severity level of a diagnostic.
- Diagnostic
Tag - Diagnostic tags for additional classification.