shelf_exception_response 0.1.1+1 copy "shelf_exception_response: ^0.1.1+1" to clipboard
shelf_exception_response: ^0.1.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+1 #

  • support for shelf version <0.7.0
  • switch tentacle_response_formatter to shelf_response_formatter as latter supports shelf >=0.6.0
  • deprecated unittest package replaced with test package

0.1.1 #

  • added optional detail argument to exception constructors to allow additional information to be added the the message
0
likes
15
pub points
25%
popularity

Publisher

unverified uploader

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.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

shelf, shelf_response_formatter

More

Packages that depend on shelf_exception_response