GPErrorArg

GameSpy SDK

GPErrorArg

Contains information about an error which has occurred.

typedef struct 
{
GPResult result;
GPErrorCode errorCode;
gsi_char * errorString;
GPEnum fatal;
} GPErrorArg;

Members

result
The result of a call to a GP function. GP_NO_ERROR if successful.
errorCode
The specific cause of the error.
errorString
Readable text string representation of the errorCode.
fatal
Either GP_FATAL or GP_NON_FATAL to indicate whether error is fatal.

Section Reference: Gamespy Presence SDK

See Also: GPErrorCode, GPCallback