in uber_rides/errors.py [0:0]
def _simple_response_to_error_adapter(self, status, original_body):
"""Convert a single error response."""
body = original_body.copy()
code = body.pop('code')
title = body.pop('message')
meta = body # save whatever is left in the response
e = [ErrorDetails(status, code, title)]
return e, meta