57f0b0b390
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 |
||
---|---|---|
.. | ||
Server | ||
ArbitraryMonadServerSpec.hs | ||
HoistSpec.hs | ||
ServerSpec.hs |