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 clients accept header.
Switch branches/tags
Clone or download
Pull request Compare This branch is 12 commits ahead, 2 commits behind octobyte:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

HTTP Exceptions

Star this Repo Pub Package Build Status Coverage Status

A set of predefined exception classes for HTTP errors extracted from shelf_exception_response.

License

Apache 2.0