mirror of https://github.com/peter4431/rq.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.
26 lines
519 B
Python
26 lines
519 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import (absolute_import, division, print_function,
|
|
unicode_literals)
|
|
|
|
|
|
class NoSuchJobError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidJobOperationError(Exception):
|
|
pass
|
|
|
|
|
|
class NoQueueError(Exception):
|
|
pass
|
|
|
|
|
|
class UnpickleError(Exception):
|
|
def __init__(self, message, raw_data, inner_exception=None):
|
|
super(UnpickleError, self).__init__(message, inner_exception)
|
|
self.raw_data = raw_data
|
|
|
|
|
|
class DequeueTimeout(Exception):
|
|
pass
|