Initial commit adding document checkout support
This commit is contained in:
11
apps/checkouts/exceptions.py
Normal file
11
apps/checkouts/exceptions.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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