betty.jobs.raise_exception module#

Jobs that raise exceptions.

final class betty.jobs.raise_exception.RaiseException#

Bases: Job

A job that raises an exception.

__init__(job_id: str, /, *, reason: BaseException, dependencies: Iterable[str] = (), dependents: Iterable[str] = (), priority: bool = False)#
async do(scheduler: Scheduler, /) None#

Do the job.