aeat.core.errors._severity module¶
Shared BaseSeverity primitive for diagnostics and validation issues.
A single BaseSeverity enum carries the INFO < WARNING < ERROR
contract for every diagnostic, finding, and validation issue in the
project. Call sites import this type directly; semantic context lives
in the field name (diagnostic_severity, finding_severity,
validation_severity), not in duplicate type names.
Diagnostic records pair this severity with Translatable message
keys, keeping importance and localization concerns separate.
The string values are lowercase ("info", "warning",
"error") to match the on-disk JSON convention used by the
ledger-import diagnostic fixtures; the member names stay uppercase
to follow the standard enum-member convention.