aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-05-16 10:23:05 +0000
committerWerner Koch <[email protected]>2025-05-16 10:23:05 +0000
commitcda4789a9f7dd9356bd7ae7d3eea02ff0055773c (patch)
tree7c9c90d28043d9656d14c264e5b5694190878919 /doc
parentPost release updates (diff)
downloadlibgpg-error-cda4789a9f7dd9356bd7ae7d3eea02ff0055773c.tar.gz
libgpg-error-cda4789a9f7dd9356bd7ae7d3eea02ff0055773c.zip
Time for a new error code; this time GPG_ERR_UNEXPECTED_PACKET
-- We already have _tag which is used for ASN.1, _MSG which is used by protocols like WKS and TLS, and the GPG_ERR_UNEXPECTED which is unrelated the former one and means just that an error was not expected. OpenPGP also has some cases where a packet is not expected. A dedicated error code thus makes sense.
Diffstat (limited to 'doc')
-rw-r--r--doc/errorref.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/errorref.txt b/doc/errorref.txt
index c4b8399..84c019d 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -793,6 +793,11 @@ GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression
GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression
+GPG_ERR_UNEXPECTED_PACKET Unexpected packet
+
+ GnuPG: - An OpenPGP packet was not expected at this place of the
+ parsed data.
+
GPG_ERR_SUBKEYS_EXP_REV All subkeys are expired or revoked
GPG_ERR_DB_CORRUPTED Database is corrupted