Safe Haskell | None |
---|---|
Language | Haskell2010 |
App.Types
Synopsis
- data Env = Env {}
- type AppM = InputT (ReaderT Env IO)
- runAppM :: Env -> AppM a -> IO a
- data InitException = URIParseException String
- handleInitException :: InitException -> IO a
Config Data
Effects Stack
Exceptions
data InitException Source #
Constructors
URIParseException String |
Instances
Show InitException Source # | |
Defined in App.Types Methods showsPrec :: Int -> InitException -> ShowS # show :: InitException -> String # showList :: [InitException] -> ShowS # | |
Generic InitException Source # | |
Exception InitException Source # | |
Defined in App.Types Methods toException :: InitException -> SomeException # fromException :: SomeException -> Maybe InitException # displayException :: InitException -> String # | |
type Rep InitException Source # | |
Defined in App.Types type Rep InitException = D1 (MetaData "InitException" "App.Types" "ws-0.0.5-HUbzQjqMpbzZySfij72t6" False) (C1 (MetaCons "URIParseException" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
handleInitException :: InitException -> IO a Source #