returnrlib::string("{}/{} collections(keyrings) successfully unlocked, some of them failed. Error message: {}").format(unlocked_count,g_list_length(collections_to_unlock),err->message);
else
returnrlib::string("{}/{} collections(keyrings) successfully unlocked, some of them failed. No error message from libsecret").format(unlocked_count,g_list_length(collections_to_unlock));
std::stringerr_msg_pass=err==NULL?"No error message from libsecret":err->message;