Control.Monad.Exception

Throwing exceptions

exception

throw

throwIO

ioError

throwTo

Catching exceptions

catch

handle

catchJust

handleJust

data Handler μ α

catches

handles

try

tryJust

evaluateIO

Asynchronous exception control

class MonadMask μ

liftGetMaskingState

liftWithMaskingState

mask

mask_

uninterruptibleMask

uninterruptibleMask_

interruptible

allowInterrupt