Tao.Sdl SDK Documentation

SdlTtf.TTF_GetError Method 

Get the current error string

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

Binds to C-function in SDL_ttf.h

            char *TTF_GetError()
            

Example

            printf("Oh My Goodness, an error : %s", TTF_GetError());
            

See Also

SdlTtf Class | Tao.Sdl Namespace | TTF_SetError