-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
I trying to implement Etebase on my application but I'm getting stuck on etebase_client_new function which throws ETEBASE_ERROR_CODE_MSG_PACK.
I would know in which case this exception is thrown ?
Also, I would know what is the purpose of the first argument const char *client_name of the function ?
Here is my code :
EtebaseErrorCode EteSync::createClient(std::string &customServerUrl, EtebaseClient **client) {
const char *serverUrl = serverUrl.empty() ? etebase_get_default_server_url() : customServerUrl.c_str();
*client = etebase_client_new("client", serverUrl);
EtebaseErrorCode err = etebase_error_get_code();
if (err != ETEBASE_ERROR_CODE_NO_ERROR) {
return err;
}
...
return ETEBASE_ERROR_CODE_NO_ERROR;
}Thank you
Metadata
Metadata
Assignees
Labels
No labels