Control.Exception

# The Exception type

data SomeException

class Exception e

data IOException

data ArithException

data ArrayException

data AssertionFailed

data AsyncException

data NonTermination

data NestedAtomically

data BlockedIndefinitelyOnMVar

data BlockedIndefinitelyOnSTM

data Deadlock

data NoMethodError

data PatternMatchFail

data RecConError

data RecSelError

data RecUpdError

data ErrorCall

# Throwing exceptions

throw

throwIO

ioError

throwTo

# Catching Exceptions

## Catching all exceptions

## The `catch` functions

catch

catches

data Handler a

catchJust

## The `handle` functions

handle

handleJust

## The `try` functions

try

tryJust

## The `evaluate` function

evaluate

## The `mapException` function

mapException

# Asynchronous Exceptions

## Asynchronous exception control

mask

mask_

uninterruptibleMask

uninterruptibleMask_

data MaskingState

getMaskingState

allowInterrupt

## (deprecated) Asynchronous exception control

block

unblock

blocked

### Applying `mask` to an exception handler

### Interruptible operations

# Assertions

assert

# Utilities

bracket

bracket_

bracketOnError

finally

onException