Initial changes to support the new Django 1.6 project structure
This commit is contained in:
23
mayan/apps/ocr/exceptions.py
Normal file
23
mayan/apps/ocr/exceptions.py
Normal file
@@ -0,0 +1,23 @@
|
||||
class AlreadyQueued(Exception):
|
||||
"""
|
||||
Raised when a trying to queue document already in the queue
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class TesseractError(Exception):
|
||||
"""
|
||||
Raised by tesseract
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class UnpaperError(Exception):
|
||||
"""
|
||||
Raised by unpaper
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class ReQueueError(Exception):
|
||||
pass
|
||||
Reference in New Issue
Block a user