Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data SDLException
- = SDLCallFailed {
- sdlExceptionCaller :: !Text
- sdlFunction :: !Text
- sdlExceptionError :: !Text
- | SDLUnexpectedArgument {
- sdlExceptionCaller :: !Text
- sdlFunction :: !Text
- sdlUnknownValue :: !String
- | SDLUnknownHintValue {
- sdlHint :: !String
- sdlUnknownValue :: !String
- = SDLCallFailed {
Documentation
data SDLException Source #
Error details about a failure to call an SDL routine. Almost all functions in this library have the ability to produce exceptions of this type. Inspection should help you learn more about what has gone wrong.
SDLCallFailed | A call to a low-level SDL C function failed unexpectedly. |
| |
SDLUnexpectedArgument | An SDL C function was called with an unexpected argument. |
| |
SDLUnknownHintValue | A hint was attempted to be set, but SDL does not know about this hint. |
|