clean up cloud errors

This commit is contained in:
Simon Stürz 2016-06-20 12:39:18 +02:00 committed by Michael Zanetti
parent 8c58a22247
commit 25124cc295
2 changed files with 17 additions and 2 deletions

View File

@ -35,8 +35,15 @@ public:
QString nameSpace() const;
// API methods
Q_INVOKABLE void processAuthenticate(const QVariantMap &params);
public:
enum CloudError {
CloudErrorNoError,
CloudErrorAuthenticationFailed,
CloudErrorCloudConnectionDisabled,
CloudErrorIdentyServerNotReachable,
CloudErrorProxyServerNotReachable,
CloudErrorLoginCredentialsMissing
};
};

View File

@ -586,6 +586,14 @@
"o:repeating": "$ref:RepeatingOption",
"o:startTime": "Time"
},
"CloudError": [
"CloudErrorNoError",
"CloudErrorAuthenticationFailed",
"CloudErrorCloudConnectionDisabled",
"CloudErrorIdentyServerNotReachable",
"CloudErrorProxyServerNotReachable",
"CloudErrorLoginCredentialsMissing"
],
"CreateMethod": [
"CreateMethodUser",
"CreateMethodAuto",