Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Instances
runHandler :: Handler a -> IO (Either ServerError a) Source #