fay-base-0.19.4.1: The base package for Fay.

Safe HaskellNone

Control.Exception

Description

Exception handling.

Synopsis

Documentation

onException :: Fay a -> Fay a -> Fay aSource

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

catch :: Fay a -> (Automatic e -> Fay a) -> Fay aSource

Try the given action and catch the exception.

throw :: Automatic e -> Fay aSource

Throw an exception.