Control.Exception

# The Exception type

data SomeException

class Exception e

data IOException

data ArithException

data ArrayException

data AssertionFailed

data SomeAsyncException

data AsyncException

asyncExceptionToException

asyncExceptionFromException

data NonTermination

data NestedAtomically

data BlockedIndefinitelyOnMVar

data BlockedIndefinitelyOnSTM

data AllocationLimitExceeded

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

### Applying `mask` to an exception handler

### Interruptible operations

# Assertions

assert

# Utilities

bracket

bracket_

bracketOnError

finally

onException