Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TryCastException source target = TryCastException source (Maybe SomeException)
Documentation
data TryCastException source target Source #
This exception is thrown when a TryCast
conversion fails. It has the
original source
value that caused the failure and it knows the target
type it was trying to convert into. It also has an optional
SomeException
for communicating what went wrong while
converting.
TryCastException source (Maybe SomeException) |