Safe Haskell | None |
---|---|
Language | Haskell2010 |
Control.Exception.Throwable
Description
The mostly exceptions has the field for its cause, and its clue.
The cause is the message.
The clue is some stuff for find bugs,
the clue can be omitted if you don't need it.
(e.g. ioException'
, illegalArgumentException
)
- data GeneralException a = GeneralException {
- exceptionName :: String
- exceptionCause :: String
- exceptionClue :: a
- generalException :: String -> String -> GeneralException ()
- data IOException' a
- ioException' :: String -> IOException' ()
- data IllegalArgumentException a = IllegalArgumentException {}
- illegalArgumentException :: String -> IllegalArgumentException ()
- data IndexOutOfBoundsException a = IndexOutOfBoundsException {}
- indexOutOfBoundsException :: String -> IndexOutOfBoundsException ()
Documentation
data GeneralException a Source #
An other of these exceptions
Constructors
GeneralException | |
Fields
|
generalException :: String -> String -> GeneralException () Source #
A constructor for GeneralException but doesn't take the clue
data IOException' a Source #
Constructors
IOException' | |
Fields
| |
FileNotFoundException | |
Fields |
ioException' :: String -> IOException' () Source #
data IllegalArgumentException a Source #
Constructors
IllegalArgumentException | |
Fields |
data IndexOutOfBoundsException a Source #
Constructors
IndexOutOfBoundsException | |