def makeBadRequest(code=BAD_REQUEST, **result):
    return BadRequest(code, result)
Create a new L{BadRequest} instance with the given result.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/_error.py/makeBadRequest