[update]: .gitignore file

This commit is contained in:
VivianDee
2025-03-21 16:26:58 +01:00
parent 2380d72d34
commit 43dc5bd835
46 changed files with 423 additions and 705 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