parameters: (status_code, message)
return_statement: return r
docstring: Return a JSON object with a HTTP error code.
docstring_summary: Return a JSON object with a HTTP error code.
docstring_tokens: Return a JSON object with a HTTP error code .
function: def json_error(status_code, message):
      """Return a JSON object with a HTTP error code."""
      r = jsonify(message=message)
      r.status_code = status_code
      return r
function_tokens: def json_error ( status_code , message ) : r = jsonify ( message = message ) r . status_code = status_code return r