Using a python flask server, I want to be able to throw an http error response with the abort command and use a custom response string and a custom message in the body
flask.abort also accepts flask.Response
flask.abort
flask.Response
abort(make_response(jsonify(message="Error message"), 400))