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.
rq/rq/exceptions.py

34 lines
607 B
Python

# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function,
unicode_literals)
class NoSuchJobError(Exception):
pass
class InvalidJobDependency(Exception):
pass
class InvalidJobOperationError(Exception):
pass
class InvalidJobOperation(Exception):
pass
class DequeueTimeout(Exception):
pass
class ShutDownImminentException(Exception):
def __init__(self, msg, extra_info):
self.extra_info = extra_info
super(ShutDownImminentException, self).__init__(msg)
class TimeoutFormatError(Exception):
pass