Tao.PhysFs SDK Documentation

Fs.PHYSFS_getLastError Method 

Get human-readable error information.

[Visual Basic]
Public Shared Function PHYSFS_getLastError() As String
[C#]
public static string PHYSFS_getLastError();

Return Value

string of last error message.

Remarks

Get the last PhysicsFS error message as a null-terminated string. This will be NULL if there's been no error since the last call to this function. The pointer returned by this call points to an internal buffer. Each thread has a unique error state associated with it, but each time a new error message is set, it will overwrite the previous one associated with that thread. It is safe to call this function at anytime, even before PHYSFS_init.

See Also

Fs Class | Tao.PhysFs Namespace