Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Servant.Server.Internal.Handler
Synopsis
- newtype Handler a = Handler {
- runHandler' :: ExceptT ServerError IO a
- runHandler :: Handler a -> IO (Either ServerError a)
- pattern MkHandler :: IO (Either ServerError a) -> Handler a
Documentation
Constructors
Handler | |
Fields
|
Instances
runHandler :: Handler a -> IO (Either ServerError a) Source #