You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-23 00:27:12 +00:00
init: initialized project struct
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from http import HTTPStatus as status
|
||||
|
||||
from ninja import Schema
|
||||
|
||||
|
||||
class UnauthorizedError(Schema):
|
||||
detail: str = status.UNAUTHORIZED.phrase
|
||||
|
||||
|
||||
class NotFoundError(Schema):
|
||||
detail: str = status.NOT_FOUND.phrase
|
||||
Reference in New Issue
Block a user