servant/servant-server/test/Servant/Server
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
..
Internal Split RouteApplication mega-module 2019-02-27 15:06:56 +02:00
UsingContextSpec Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00
ErrorSpec.hs Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00
RouterSpec.hs Make error messages from combinators configurable 2020-07-17 17:10:31 +03:00
StaticFilesSpec.hs Deprecate S.Utils.StaticFiles in favor of S.Server.StaticFiles 2018-07-05 23:20:59 +03:00
StreamingSpec.hs Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00
UsingContextSpec.hs Apply stylish-haskell on all modules 2018-06-29 23:36:39 +03:00