feat: add DuplicateError domain exception
This commit is contained in:
parent
627675fff1
commit
6c4ba79eed
2 changed files with 9 additions and 0 deletions
2
src/fastapi_oidc_op/store/exceptions.py
Normal file
2
src/fastapi_oidc_op/store/exceptions.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
class DuplicateError(Exception):
|
||||
"""Raised when a create operation violates a uniqueness constraint."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue