<filename>mayan/apps/ocr/exceptions.py
class AlreadyQueued(Exception):
    """
    Raised when a trying to queue document already in the queue
    """
    pass


class OCRError(Exception):
    """
    Raised by the OCR backend
    """
    pass


class UnpaperError(Exception):
    """
    Raised by unpaper
    """
    pass


class ReQueueError(Exception):
    pass

<filename>mayan/apps/ocr/exceptions.py
class AlreadyQueued(Exception):
    """
    Raised when a trying to queue document already in the queue
    """
    pass


class OCRError(Exception):
    """
    Raised by the OCR backend
    """
    pass


class UnpaperError(Exception):
    """
    Raised by unpaper
    """
    pass


class ReQueueError(Exception):
    pass

Raised when a trying to queue document already in the queue Raised by the OCR backend Raised by unpaper