

def json_error(code, message):
    'Returns a JSON-ified error object'
    message = repr(code)
    return (jsonify(dict(request=request.path, message=message)), code)

dataset/ETHPy150Open rehandalal/buchner/buchner/project-template/PROJECTMODULE/errors.py json_error/VarMisuse@18/32 `message`->`code`