code: def _responsify(api_spec, error, status):
      
      result_json = api_spec.model_to_json(error)
      r = jsonify(result_json)
      r.status_code = status
      return r
docs: Take a bravado-core model representing an error, and return a Flask Response
      with the given error code and error instance as body