servant/servant-server/test/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
..
Server Make error messages from combinators configurable 2020-07-17 17:10:31 +03:00
ArbitraryMonadServerSpec.hs Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00
HoistSpec.hs Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00
ServerSpec.hs add query rewriting tests and changelog item 2020-01-09 15:08:24 +02:00