servant-snap-0.8.3.1: A family of combinators for defining webservices APIs and serving them

Safe HaskellNone
LanguageHaskell2010

Servant.Server.Internal.ServantErr

Synopsis

Documentation

throwError :: MonadSnap m => ServantErr -> m a Source #

Terminate request handling with a ServantErr via finishWith