mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-01-07 11:40:01 -08:00
13 lines
406 B
Python
13 lines
406 B
Python
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'
|