Set an SDL error from a list of error codes.
Defined in SDL_error.h, but apps should use #include <SDL3/SDL.h>
int SDL_Error(SDL_errorcode code);
code | Error code |
Returns unconditionally -1.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction