mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-20 07:05:08 +00:00
35 lines
760 B
Python
35 lines
760 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 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
|
|
|
|
|
|
class ShutDownImminentException(Exception):
|
|
def __init__(self, msg, extra_info):
|
|
self.extra_info = extra_info
|
|
super(ShutDownImminentException, self).__init__(msg)
|
|
|
|
|
|
class TimeoutFormatError(Exception):
|
|
pass
|