blob: c17cc298906260022179f36dfeb554d7ec7531ac (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class SchedulerAlreadyRunningError(Exception):
"""Raised when attempting to start or configure the scheduler when it's already running."""
def __str__(self):
return "Scheduler is already running"
class SchedulerNotRunningError(Exception):
"""Raised when attempting to shutdown the scheduler when it's not running."""
def __str__(self):
return "Scheduler is not running"
|