def from_sdl_error(cls): return cls(ffi.string(sdl.SDL_GetError()))
def get_error(): err = ffi.string(sdl.SDL_GetError()) if not isinstance(err, str): return err.decode('utf8') return err
def get_error(): return ffi.string(sdl.SDL_GetError())