aeat.application.workflow._engine_recording module¶
Failure recording helpers for the workflow engine.
- record_unhandled(*, stage, started, exc, steps)[source]¶
Record a failed step and raise
WorkflowAbortSignalError(UNHANDLED_EXCEPTION).- Return type:
- Parameters:
stage (WorkflowStage)
started (datetime)
exc (BaseException)
steps (list[WorkflowStep])
Record a site-health failure and abort with
SITE_UNAVAILABLE.- Return type:
- Parameters:
stage (WorkflowStage)
started (datetime)
exc (SiteHealthError)
steps (list[WorkflowStep])