Easemob Windows SDK
Public Types | Public Member Functions | Public Attributes | List of all members
easemob::EMError Class Reference
Inheritance diagram for easemob::EMError:
Inheritance graph
Collaboration diagram for easemob::EMError:
Collaboration graph

Public Types

enum  EMErrorCode {
  EM_NO_ERROR = 0, GENERAL_ERROR, NETWORK_ERROR, DATABASE_ERROR,
  INVALID_APP_KEY = 100, INVALID_USER_NAME, INVALID_PASSWORD, INVALID_URL,
  USER_ALREADY_LOGIN = 200, USER_NOT_LOGIN, USER_AUTHENTICATION_FAILED, USER_ALREADY_EXIST,
  USER_NOT_FOUND, USER_ILLEGAL_ARGUMENT, USER_LOGIN_ANOTHER_DEVICE, USER_REMOVED,
  USER_REG_FAILED, PUSH_UPDATECONFIGS_FAILED, USER_PERMISSION_DENIED, USER_BINDDEVICETOKEN_FAILED,
  USER_UNBIND_DEVICETOKEN_FAILED, SERVER_NOT_REACHABLE = 300, SERVER_TIMEOUT, SERVER_BUSY,
  SERVER_UNKNOWN_ERROR, SERVER_GET_DNSLIST_FAILED, SERVER_SERVING_DISABLED, FILE_NOT_FOUND = 400,
  FILE_INVALID, FILE_UPLOAD_FAILED, FILE_DOWNLOAD_FAILED, MESSAGE_INVALID = 500,
  MESSAGE_INCLUDE_ILLEGAL_CONTENT, MESSAGE_SEND_TRAFFIC_LIMIT, MESSAGE_ENCRYPTION_ERROR, GROUP_INVALID_ID = 600,
  GROUP_ALREADY_JOINED, GROUP_NOT_JOINED, GROUP_PERMISSION_DENIED, GROUP_MEMBERS_FULL,
  GROUP_NOT_EXIST, CHATROOM_INVALID_ID = 700, CHATROOM_ALREADY_JOINED, CHATROOM_NOT_JOINED,
  CHATROOM_PERMISSION_DENIED, CHATROOM_MEMBERS_FULL, CHATROOM_NOT_EXIST, CALL_INVALID_ID = 800,
  CALL_BUSY, CALL_REMOTE_OFFLINE, CALL_CONNECTION_FAILED, CALL_INVALID_CAMERA_INDEX,
  CALL_OPTION_CANCEL, CALL_PERMISSION_DENIED, CALL_NOT_JOINED, CALL_JOIN_FAILED,
  CALL_CREATE_FAILED, CALL_UNSUB_FAILED
}
 

Public Member Functions

 EMError (const EMError &e)
 EMCallback's constructor. More...
 
 EMError (int errorCode=EM_NO_ERROR, const std::string &description="")
 
void setErrorCode (int errorCode, const std::string &description="")
 
EMErroroperator= (const EMError &e)
 

Public Attributes

int mErrorCode
 
std::string mDescription
 

Constructor & Destructor Documentation

§ EMError()

easemob::EMError::EMError ( const EMError e)
inline

EMCallback's constructor.

Note: If description is empty, constructor will provide default description accord the error code.

Parameters
Errorcode
Errordescription
Returns
NA

The documentation for this class was generated from the following file: