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; QString nameSpace() const;
// API methods public:
Q_INVOKABLE void processAuthenticate(const QVariantMap &params); enum CloudError {
CloudErrorNoError,
CloudErrorAuthenticationFailed,
CloudErrorCloudConnectionDisabled,
CloudErrorIdentyServerNotReachable,
CloudErrorProxyServerNotReachable,
CloudErrorLoginCredentialsMissing
};
}; };

View File

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