cardano-node-1.30.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Node.Handlers.TopLevel

Synopsis

Documentation

toplevelExceptionHandlerIO a → IO a Source #

An exception handler to use for a program top level, as an alternative to the default top level handler provided by GHC.

Use like:

main :: IO ()
main = toplevelExceptionHandler $ do
  ...