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