Control.Exception.Base

# 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

throwIO

throw

ioError

throwTo

# Catching Exceptions

## The `catch` functions

catch

catchJust

## The `handle` functions

handle

handleJust

## The `try` functions

try

tryJust

onException

## The `evaluate` function

evaluate

## The `mapException` function

mapException

# Asynchronous Exceptions

## Asynchronous exception control

mask

mask_

uninterruptibleMask

uninterruptibleMask_

data MaskingState

getMaskingState

## (deprecated) Asynchronous exception control

block

unblock

blocked

# Assertions

assert

# Utilities

bracket

bracket_

bracketOnError

finally

# Calls for GHC runtime

recSelError

recConError

irrefutPatError

runtimeError

nonExhaustiveGuardsError

patError

noMethodBindingError

absentError

nonTermination

nestedAtomically