sdl2-2.5.5.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe-Inferred
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 

Manual Error Handling

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