servant-snap-0.9.0: 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