summaryrefslogtreecommitdiffstats
path: root/secret-service/org.freedesktop.Secrets.xml
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-12-11 21:51:30 +0000
committerStef Walter <stefw@collabora.co.uk>2010-12-04 16:11:42 +0000
commit9b0a610bda7d6b99fa2f61bb77493c671eb1fb41 (patch)
treef0981476b7f23c135dc75ca69d335f899d242d6b /secret-service/org.freedesktop.Secrets.xml
parent33d5f4c05d1f52d1c212633818bdd1038ea5b467 (diff)
downloadxdg-specs-9b0a610bda7d6b99fa2f61bb77493c671eb1fb41.tar.xz
Error code changes.
* Remove AlreadyExists. No longer needed. * Remove NotSupported in favor of the one defined in DBus itself: org.freedesktop.DBus.Error.NotSupported * There's no real NoSuchObject error code defined in DBus itself, so defined our own.
Diffstat (limited to 'secret-service/org.freedesktop.Secrets.xml')
-rw-r--r--secret-service/org.freedesktop.Secrets.xml21
1 files changed, 5 insertions, 16 deletions
diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml
index 5757abd..a681d79 100644
--- a/secret-service/org.freedesktop.Secrets.xml
+++ b/secret-service/org.freedesktop.Secrets.xml
@@ -24,25 +24,14 @@
<tp:errors namespace="org.freedesktop.Secret.Error">
<tp:docstring>Errors returned by the Secret Service API.</tp:docstring>
- <tp:error name="AlreadyExists">
- <tp:docstring>
- An object (session, collection) already exists with the same name.
- </tp:docstring>
- </tp:error>
<tp:error name="IsLocked">
- <tp:docstring>
- The object must be unlocked before this action can be carried out.
- </tp:docstring>
- </tp:error>
- <tp:error name="NotSupported">
- <tp:docstring>
- The algorithm is not supported.
- </tp:docstring>
+ <tp:docstring>The object must be unlocked before this action can be carried out.</tp:docstring>
</tp:error>
<tp:error name="NoSession">
- <tp:docstring>
- A session must be established before this action can be carried out.
- </tp:docstring>
+ <tp:docstring>The session does not exist.</tp:docstring>
+ </tp:error>
+ <tp:error name="NoSuchObject">
+ <tp:docstring>No such item or collection exists.</tp:docstring>
</tp:error>
</tp:errors>