vertical-knowledge / ripozo

A tool for quickly creating REST/HATEOAS/Hypermedia APIs in python
http://ripozo.readthedocs.org/
GNU General Public License v2.0
201 stars 22 forks source link

Valid Siren and hal responses even in case of an exception #28

Closed timmartin19 closed 9 years ago

timmartin19 commented 9 years ago

They should still return mostly valid siren/hal responses. It might be slightly different (no self reference can be guaranteed) but it should at least follow the basic format. Status codes MUST be appropriate in the case of an exception (i.e. a non 2xx response).