aeat.application.verification._errors module¶
Error hierarchy for the calculation-verification subpackage.
Defines VerificationError, the base exception for unrecoverable
verification failures rooted at aeat.core.errors.AeatError.
Ordinary discrepancies between printed and computed values are not
exceptions — they are encoded in
aeat.application.verification.VerificationVerdict.
See also
VerificationError,
aeat.application.verification.VerificationVerdict, and
aeat.application.verification.ClassifiedDiscrepancy.
- exception VerificationError(message=None, *, context=None, suggestion=None, translated_message=None)[source]¶
Bases:
AeatErrorRaised on catastrophic verification failures.
Reserved for unrecoverable conditions (corrupt registry data, broken engine contract, missing core dependency). Discrepancies between the printed casilla values and the engine-derived values are not exceptions; they surface as
aeat.application.verification.ClassifiedDiscrepancyentries on the verdict.- Parameters:
- Return type:
None
- code: ClassVar[ErrorCode]¶