sdl2 :: SDL :: error
After calling this method, you should also call clear_error.
clear_error
# Returns the latest SDL error # # After calling this method, you should also call `clear_error`. fun error: CString `{ return (char*)SDL_GetError(); `}