|
Size: 809
Comment: update content (w/ Sam)
|
Size: 745
Comment: remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| Returns a message filled with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to [[SDL_ClearError]](). | Returns a message with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to [[SDL_ClearError]](). |
SDL_GetError
Use this function to retrieve a message about the last error that occurred.
Syntax
char* SDL_GetError(void)
Return Value
Returns a message with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to SDL_ClearError().
Code Examples
You can add your code example here
Remarks
It is possible for multiple errors to occur before calling SDL_GetError(). Only the last error is returned.
