added new of dashboard and log apply on routes
This commit is contained in:
17
app/constants/messages.py
Normal file
17
app/constants/messages.py
Normal file
@@ -0,0 +1,17 @@
|
||||
class SuccessMessage:
|
||||
FETCHED = "Data fetched successfully"
|
||||
CREATED = "Resource created successfully"
|
||||
UPDATED = "Resource updated successfully"
|
||||
DELETED = "Resource deleted successfully"
|
||||
LOGIN = "Login successful"
|
||||
LOGOUT = "Logout successful"
|
||||
|
||||
|
||||
class ErrorMessage:
|
||||
INVALID_REQUEST = "Invalid request data"
|
||||
UNAUTHORIZED = "Unauthorized access"
|
||||
FORBIDDEN = "Access forbidden"
|
||||
NOT_FOUND = "Resource not found"
|
||||
VALIDATION_FAILED = "Validation failed"
|
||||
INTERNAL_ERROR = "Internal server error"
|
||||
DUPLICATE_ENTRY = "Duplicate record found"
|
||||
Reference in New Issue
Block a user