Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
GeneralException | |
|
generalException :: String -> String -> GeneralException () Source #
A constructor for GeneralException but doesn't take the clue
data IOException' a Source #
ioException' :: String -> IOException' () Source #
data IllegalArgumentException a Source #