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

Safe HaskellNone
LanguageHaskell2010

Servant.Server.Internal.ServantErr

Synopsis

Documentation

setHeaders :: [Header] -> Response -> Response Source #

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

Terminate request handling with a ServantErr via finishWith