void
MeeGo::Sync::FrameworkClient::credentialsError(const SignOn::Error & e)
{
  m_processor.reset();

  switch (e.type()) {
  case SignOn::Error::StoreFailed:
    //: Internal error.  Failed to store user supplied credentials in DB.
    setStatus (tr("Failed to store credentials"));
    break;
  case SignOn::Error::RemoveFailed:
    //: Displayed when clearing stored sync account credentials fails.
    setStatus (tr("Failed to clear credentials"));
    break;
  default:
    //: We're really not expecting any other kinds of cred errors.
    setStatus(tr("Unknown credentials error"));
    break;
  }
}
void SignonClient::sessionError(const SignOn::Error &error)
{
    qDebug("session Err: %d", error.type());
    qDebug() << error.message();
}
void SignonClient::error(const SignOn::Error &error)
{
    qDebug("identity Err: %d", error.type());
    qDebug() << error.message();
}
Example #4
0
void Session::onError(const SignOn::Error& err)
{
    qDebug() << Q_FUNC_INFO << err.type() << err.message();
    emit error(err.message());
}
Example #5
0
void Blog::onError(const SignOn::Error &error)
{
    qDebug() << "Got error:" << error.message();
}
//slot for receiving error
void SaslPluginTest::pluginError(const SignOn::Error &error)
{
    qDebug() << "got error" << error.type();
    m_errorType = error.type();
    m_loop.exit();
}
Example #7
0
void SignOnAdapter::authServiceError(const SignOn::Error &err){
    qDebug("AuthService Error: %d", err.type());
    emit identityLoaded();
}
Example #8
0
void TimeoutsTest::identityError(const SignOn::Error &error)
{
    qDebug() << Q_FUNC_INFO << error.message();
    QFAIL("Unexpected error!");
    emit finished();
}