Source code for aeat.application.overview._errors

"""Narrow exceptions for overview read-model assembly.

Overview services are local application projections. These exceptions
cover failures to assemble status, calendar, agenda, backlog, or explain
payloads from already-loaded inputs rather than transport or AEAT live
read failures. They inherit from :class:`~core.errors.AeatError` so the
central error registry can map overview failures to stable CLI envelopes.
"""

from __future__ import annotations

from ...core.errors import AeatError


[docs] class OverviewError(AeatError): """Base error for overview status, calendar, agenda, backlog, and explain failures."""
[docs] class OverviewCalendarError(OverviewError): """Raised when :func:`application.overview.build_overview_calendar` fails."""
[docs] class OverviewAgendaError(OverviewError): """Raised when :func:`application.overview.build_overview_agenda` fails."""
[docs] class OverviewBacklogError(OverviewError): """Raised when :func:`application.overview.build_overview_backlog` fails."""
[docs] class OverviewExplainError(OverviewError): """Raised when :func:`application.overview.build_overview_explain` fails."""