ErrorCode Class
The ErrorCode class represents a set of common return values.
Use the ErrorCode class to create relevant error messages for common errors that may be encountered.
ErrorCode Return Values
The following table lists some of the common return values for the ErrorCode class:
Name | Type | Description |
---|---|---|
AlreadyConnected |
long |
Return value to indicate that the user is already connected. |
ConnectServerFailed |
long |
Return value to indicate that connection to the server failed. |
InvalidParameter |
long |
Return value to indicate that there is an invalid parameter. |
NoError |
long |
Return value to indicate that function executed successfully. |
NotConnected |
long |
Return value to indicate that the user is not connected. |
NotFound |
long |
Return value to indicate that some object was not found. |