This needs to deal with the case where `sdlAddTimer` returns 0 (in which case `sdlGetError` should be called, and an error should be thrown)