data SomeException { } #
SomeException String
data IOException { } #
IOException String
An exception from the I/O subsystem.
data ErrorCall { } #
ErrorCall String
An exception from calling error.
data ArithException { } #
Overflow
Underflow
LossOfPrecision
DivideByZero
Denormal
RatioZeroDenominator
Arithmetic exceptions (division by zero, overflow, etc.).
data AssertionFailed { } #
AssertionFailed String
An assertion failure.
data AsyncException { } #
StackOverflow
HeapOverflow
ThreadKilled
UserInterrupt
Asynchronous exceptions.
data MaskingState { } #
Unmasked
MaskedInterruptible
MaskedUninterruptible
Masking state for asynchronous exceptions.
class Show e => Exception e { } #

Methods

toException :: e -> SomeException
fromException :: SomeException -> Maybe e
displayException :: e -> String
The Exception typeclass. Types that can be thrown and
instance Exception SomeException { }
instance Exception IOException { }
instance Exception ErrorCall { }
instance Exception ArithException { }
instance Exception AssertionFailed { }
instance Exception AsyncException { }