Tao.Sdl SDK Documentation

SdlImage.IMG_GetError Method 

Get the current error string

[Visual Basic]
Public Shared Function IMG_GetError() As String
[C#]
public static string IMG_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_image function call.

Binds to C-function in SDL_image.h

            char *IMG_GetError()
            

See Also

SdlImage Class | Tao.Sdl Namespace | IMG_SetError