mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Crud & tests for custom commands
This commit is contained in:
parent
53f58eb743
commit
fd57b5a79b
11 changed files with 281 additions and 0 deletions
0
database/exceptions/__init__.py
Normal file
0
database/exceptions/__init__.py
Normal file
2
database/exceptions/constraints.py
Normal file
2
database/exceptions/constraints.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
class DuplicateInsertException(Exception):
|
||||
"""Exception raised when a value already exists"""
|
||||
2
database/exceptions/not_found.py
Normal file
2
database/exceptions/not_found.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
class NoResultFoundException(Exception):
|
||||
"""Exception raised when nothing was found"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue