first commit

This commit is contained in:
CHIEFSOFT\ameye
2025-03-23 14:25:20 -04:00
commit 0bb36be246
62 changed files with 1968 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
from .handlers import method_not_allowed, unsupported_media_type
+14
View File
@@ -0,0 +1,14 @@
from flask import jsonify
from app.helpers.response_helper import ResponseHelper
def method_not_allowed(error):
return jsonify({"message": "Method Not Allowed"}), 405
def not_found(error):
return jsonify({"message": "Resource not found"}), 404
def bad_request(error):
return jsonify({"message": "Bad Request"}), 400
def unsupported_media_type(error):
return jsonify({"message": "Unsupported Media Type"}), 415