diff options
author | Werner Koch <wk@gnupg.org> | 2016-12-13 12:42:43 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-12-13 12:42:43 +0100 |
commit | f02a657f0129b30700b2f36956ee37b40cc2da82 (patch) | |
tree | 51a87b1d9ccb970a37f8b4c459a91cc5c7385f89 | |
parent | 90b4dfad438900c7808b8c2995ba984fa3587bb2 (diff) | |
download | libgpg-error-f02a657f0129b30700b2f36956ee37b40cc2da82.tar.gz |
New error code GPG_ERR_TRY_LATER.
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/errorref.txt | 7 | ||||
-rw-r--r-- | src/err-codes.h.in | 1 |
3 files changed, 8 insertions, 1 deletions
@@ -8,6 +8,7 @@ Noteworthy changes in version 1.26 (unreleased) [C20/A20/R_] GPG_ERR_UNKNOWN_FLAG NEW. GPG_ERR_INV_ORDER NEW. GPG_ERR_ALREADY_FETCHED NEW. + GPG_ERR_TRY_LATER NEW. GPG_ERR_SYSTEM_BUG NEW. GPG_ERR_DNS_UNKNOWN NEW. GPG_ERR_DNS_SECTION NEW. diff --git a/doc/errorref.txt b/doc/errorref.txt index ce626eb..6cea1b7 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -248,7 +248,7 @@ GPG_ERR_NETWORK Network error GPG_ERR_UNKNOWN_HOST Unknown host - Used instead of the non-portbale EHOSTNOTFOUND which is + Used instead of the non-portable EHOSTNOTFOUND which is returned by some systems as a mapping of h_errno's HOST_NOT_FOUND @@ -1033,6 +1033,11 @@ GPG_ERR_ALREADY_FETCHED Already fetched GNUPG: - In Dirmngr used for the libdns error code DNS_EFETCHED. +GPG_ERR_TRY_LATER Try again later + + This indicates that a server asked to try again later; thus it is + different from EAGAIN which is used by the local system. This + code is for example used instead of h_error's TRY_AGAIN. GPG_ERR_SYSTEM_BUG System bug detected diff --git a/src/err-codes.h.in b/src/err-codes.h.in index efc40e4..1c46948 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -331,6 +331,7 @@ 309 GPG_ERR_UNKNOWN_FLAG Unknown flag 310 GPG_ERR_INV_ORDER Invalid execution order 311 GPG_ERR_ALREADY_FETCHED Already fetched +312 GPG_ERR_TRY_LATER Try again later # This range is free for use. 666 GPG_ERR_SYSTEM_BUG System bug detected |