mirror of https://github.com/sgoudham/Enso-Bot.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
406 B
Python
13 lines
406 B
Python
5 years ago
|
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'
|