Initial changes to support the new Django 1.6 project structure
This commit is contained in:
12
mayan/apps/checkouts/exceptions.py
Normal file
12
mayan/apps/checkouts/exceptions.py
Normal file
@@ -0,0 +1,12 @@
|
||||
class DocumentNotCheckedOut(Exception):
|
||||
"""
|
||||
Raised when trying to checkin a document that is not checkedout
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class DocumentAlreadyCheckedOut(Exception):
|
||||
"""
|
||||
Raised when trying to checkout an already checkedout document
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user