sdl2-2.4.1.0: Both high- and low-level bindings to the SDL library (version 2.0.4+).

Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Error

Contents

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 #