You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 23:17:10 +00:00
feat: added business models, implemented business signup and signin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class UniqueConstraintError(Exception):
|
||||
def __init__(self, validation_error: ValidationError) -> None:
|
||||
self.validation_error = validation_error
|
||||
|
||||
|
||||
__all__ = ["UniqueConstraintError"]
|
||||
Reference in New Issue
Block a user