cardano-node-8.8.1: The cardano full node
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Node.Handlers.TopLevel

Synopsis

Documentation

toplevelExceptionHandler :: IO 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
  ...