You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-23 00:27:12 +00:00
feat: added business models, implemented business signup and signin
This commit is contained in:
@@ -9,3 +9,19 @@ class UnauthorizedError(Schema):
|
||||
|
||||
class NotFoundError(Schema):
|
||||
detail: str = status.NOT_FOUND.phrase
|
||||
|
||||
|
||||
class ValidationError(Schema):
|
||||
detail: str
|
||||
|
||||
|
||||
class UniqueConstraintError(Schema):
|
||||
detail: str
|
||||
|
||||
|
||||
__all__ = [
|
||||
"NotFoundError",
|
||||
"UnauthorizedError",
|
||||
"UniqueConstraintError",
|
||||
"ValidationError",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user