Currently, validation and header errors are the default errors raised by other packages. This should be intercepted and customized so the response body is JSON-formatted as per the spec.
This should now be implemented across the board, at least for likely errors. A top-level try except should probably be added that returns a 500, but this should be good enough for the time being.
Currently, validation and header errors are the default errors raised by other packages. This should be intercepted and customized so the response body is JSON-formatted as per the spec.