sdl2-2.5.3.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Error

Synopsis

Error Handling

newtype SDLError Source #

Note: the CString is only valid until the next SDL function call. If you need to preserve the error message, make a copy of it.

Constructors

SDLError CString 

Instances

Instances details
Eq SDLError Source # 
Instance details

Defined in SDL.Raw.Error

Show SDLError Source # 
Instance details

Defined in SDL.Raw.Error

Exception SDLError Source # 
Instance details

Defined in SDL.Raw.Error

Manual Error Handling

clearError :: MonadIO m => m () Source #