aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-06-01 07:34:25 +0000
committerIngo Klöcker <[email protected]>2023-06-01 07:37:41 +0000
commit7990f70107bc8487f954c6885436a7661e162929 (patch)
treef42adf00e941cb78ed158d37866517fa1f00b7b6 /doc
parentcpp,python: Respect --disable-gpg-test for tests (diff)
downloadgpgme-7990f70107bc8487f954c6885436a7661e162929.tar.gz
gpgme-7990f70107bc8487f954c6885436a7661e162929.zip
doc,cpp: Treat GPG_ERR_FULLY_CANCELED as canceled
* doc/gpgme.texi (GPG_ERR_FULLY_CANCELED): New. * lang/cpp/src/context.cpp (Error::isCanceled): Also return true for GPG_ERR_FULLY_CANCELED. -- For internal purposes, GnuPG sometimes uses the error code GPG_ERR_FULLY_CANCELED instead of GPG_ERR_CANCELED. From a user perspective both values mean the same thing and should therefore be treated identically. GnuPG-bug-id: 6510
Diffstat (limited to 'doc')
-rw-r--r--doc/gpgme.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 606d13bb..bc89792a 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -1649,6 +1649,11 @@ when requested.
@item GPG_ERR_CANCELED
This value means that the operation was canceled.
+@item GPG_ERR_FULLY_CANCELED
+This value means that the operation was canceled. It is sometimes returned
+instead of @code{GPG_ERR_CANCELED} for internal reasons in GnuPG. You should
+treat both values identically.
+
@item GPG_ERR_INV_ENGINE
This value means that the engine that implements the desired protocol
is currently not available. This can either be because the sources