shelf_exception_response 0.1.1 shelf_exception_response: ^0.1.1 copied to clipboard
Shelf middleware that provides the abillity to simply throw an HttpException that gets converted to an appropriate response code and a formatted response body dependent on the clients accept header.
0.1.1 #
- added optional detail argument to exception constructors to allow additional information to be added the the message