Skip to main content

Module codes

Module codes 

Source
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

RangeCategory
PL001-PL099Parser diagnostics
PL100-PL199Strict/warnings
PL200-PL299Package/module
PL300-PL399Subroutine
PL400-PL499Best practices
PL500-PL599Deprecated syntax
PL600-PL699Security
PL700-PL799Import
PL800-PL899Heredoc anti-patterns
PL900-PL999Version compatibility
PC001-PC005Perl::Critic violations

Enums§

DiagnosticCategory
Category of diagnostic codes.
DiagnosticCode
Stable diagnostic codes for Perl LSP.
DiagnosticSeverity
Severity level of a diagnostic.
DiagnosticTag
Diagnostic tags for additional classification.