fay-base-0.21.2.0: The base package for Fay.
Safe HaskellNone
LanguageHaskell2010

Control.Exception

Description

Exception handling.

Synopsis

Documentation

onException :: Fay a -> Fay a -> Fay a Source #

Try the given action and catch if there's an error.

catch :: Fay a -> (Automatic e -> Fay a) -> Fay a Source #

Try the given action and catch the exception.

throw :: Automatic e -> Fay a Source #

Throw an exception.