mozilla-services/cornice — Issue #12: Update error response to be a dict
Author: bbangert
Created: 2011-12-13 01:18:27+00:00
State: open

Right now the errors look like this:

[{"location": "url", "name": "delete", "description": "Delete must be 'false' if specified."}]

Ideally it should look like:

{'status': 'error',
'errors': [{"location": "url", "name": "delete", "description": "Delete must be 'false' if specified."}]
}

So that one can always look to see what the status is, and read the errors if applicable.