Tao.Sdl SDK Documentation |
|
SdlMixer.Mix_GetError Method
Get the current error string
[Visual Basic]
Public Shared Function Mix_GetError() As
String
[C#]
public static
string Mix_GetError();
Return Value
a char pointer (string) containing a humam readable version or the reason for the last error that occured.
Remarks
This is the same as SDL_GetError, which returns the last error set as a string which you may use to tell the user what happened when an error status has been returned from an SDL_mixer function call.
Binds to C-function in SDL_mixer.h
char *Mix_GetError()
Example
printf("Oh My Goodness, an error : %s", Mix_GetError());
See Also
SdlMixer Class | Tao.Sdl Namespace | Mix_SetError