servant/servant
Maxim Koltsov 57f0b0b390
Make error messages from combinators configurable
Currently there is no way for Servant users to customize formatting of
error messages that arise when combinators can't parse URL or request
body, apart from reimplementing those combinators for themselves or
using middlewares.

This commit adds a possibility to specify custom error formatters
through Context.

Fixes #685
2020-07-17 17:10:31 +03:00
..
src/Servant Make error messages from combinators configurable 2020-07-17 17:10:31 +03:00
test Change build-type: Simple; run doctests on CI via haskell-ci 2020-01-10 01:07:31 +02:00
.ghci add servant/.ghci 2016-01-07 23:59:54 +01:00
CHANGELOG.md Fix typos and grammar (#1304) 2020-06-06 00:43:51 -04:00
docs.sh prepare merge 2015-04-20 11:21:21 +02:00
LICENSE Changelog and cabal file edits 2018-11-13 09:58:42 +02:00
servant.cabal Allow newer versions of base, template-haskell, lens, & unliftio-core 2020-07-03 06:57:52 +02:00
Setup.hs Change build-type: Simple; run doctests on CI via haskell-ci 2020-01-10 01:07:31 +02:00
update-nixpkgs.sh prepare merge 2015-04-20 11:21:21 +02:00