servant-errors: Servant Errors wai-middlware
A Wai middleware that uniformly structures errors with in a servant application. The library assumes all HTTP responses with status code greater than 200 and without an HTTP content type are error responses. This assumption is derived from servant server error handling implementation.
[Skip to Readme]
Downloads
- servant-errors-0.1.7.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.3.0, 0.1.3.1, 0.1.4.0, 0.1.5.0, 0.1.6.0, 0.1.7.0 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.3 && <1.6), base (>=4.10.0.0 && <4.15), base-compat (>=0.9.0), bytestring (>=0.10.8.2), http-api-data (>=0.3), http-media (>=0.7), http-types (>=0.12), scientific (>=0.3), servant (>=0.13), string-conversions (>=0.4), text (>=1.2), unordered-containers (>=0.2), wai (>=3.2) [details] |
Tested with | ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.8.4 |
License | MIT |
Copyright | 2019 Lukwago Allan |
Author | Lukwago Allan |
Maintainer | epicallan.al@gmail.com |
Category | Network, Servant |
Home page | https://github.com/epicallan/servant-errors |
Bug tracker | https://github.com/epicallan/servant-errors/issues |
Source repo | head: git clone https://github.com/epicallan/servant-errors.git |
Uploaded | by epicallan at 2022-04-25T10:14:27Z |
Distributions | |
Downloads | 4269 total (6 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |