Skip to content

xtr_scheduler.exception

Every error this package raises, each deriving from :class:SchedulerError.

InvalidArgumentError

Bases: SchedulerError, ValueError

A value handed to the scheduler cannot be used: an interval, a date, a schedule name.

SchedulerError

Bases: Exception

Something the scheduler could not do — catch this to catch them all.

SchedulerLogicError

Bases: SchedulerError

The scheduler was used in a way that cannot work, whatever the input.

A trigger that does not move forward, a message added twice, a transport asked to send: each is a mistake in the code, not in the data.

SchedulerRuntimeError

Bases: SchedulerError, RuntimeError

Something the scheduler depends on failed while it ran — a cache that cannot save.