Skip to content

Commit fd0bc98

Browse files
authored
feat: TT-429 created enums for response messages (#362)
1 parent c8a3134 commit fd0bc98

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# flake8: noqa
2+
from .response_enums import ResponseEnums
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from enum import Enum
2+
3+
4+
class ResponseEnums(Enum):
5+
INVALID_ID = "Invalid Format ID"
6+
NOT_FOUND = "Not found"
7+
NOT_CREATED = "could not be created"
8+
INCORRECT_BODY = "Incorrect body"
9+
10+
MIME_TYPE = "application/json"

0 commit comments

Comments
 (0)