sdl2/generated/lib_sdl_error library

Functions

sdlClearError() → void
Clear any previous error message for this thread.
sdlError(int code) int
SDL_Error() unconditionally returns -1.
sdlGetError() String?
Retrieve a message about the last error that occurred on the current thread.
sdlGetErrorMsg(Pointer<Int8> errstr, int maxlen) Pointer<Int8>
Get the last error message that was set for the current thread.
sdlSetError(String? fmt, Pointer<NativeType> arg1) int
Set the SDL error message for the current thread.