GPG_ERR_CODE

See original's library documentation for details.

Values

ValueMeaning
NO_ERROR0
GENERAL1
UNKNOWN_PACKET2
UNKNOWN_VERSION3
PUBKEY_ALGO4
DIGEST_ALGO5
BAD_PUBKEY6
BAD_SECKEY7
BAD_SIGNATURE8
NO_PUBKEY9
CHECKSUM10
BAD_PASSPHRASE11
CIPHER_ALGO12
KEYRING_OPEN13
INV_PACKET14
INV_ARMOR15
NO_USER_ID16
NO_SECKEY17
WRONG_SECKEY18
BAD_KEY19
COMPR_ALGO20
NO_PRIME21
NO_ENCODING_METHOD22
NO_ENCRYPTION_SCHEME23
NO_SIGNATURE_SCHEME24
INV_ATTR25
NO_VALUE26
NOT_FOUND27
VALUE_NOT_FOUND28
SYNTAX29
BAD_MPI30
INV_PASSPHRASE31
SIG_CLASS32
RESOURCE_LIMIT33
INV_KEYRING34
TRUSTDB35
BAD_CERT36
INV_USER_ID37
UNEXPECTED38
TIME_CONFLICT39
KEYSERVER40
WRONG_PUBKEY_ALGO41
TRIBUTE_TO_D_A42
WEAK_KEY43
INV_KEYLEN44
INV_ARG45
BAD_URI46
INV_URI47
NETWORK48
UNKNOWN_HOST49
SELFTEST_FAILED50
NOT_ENCRYPTED51
NOT_PROCESSED52
UNUSABLE_PUBKEY53
UNUSABLE_SECKEY54
INV_VALUE55
BAD_CERT_CHAIN56
MISSING_CERT57
NO_DATA58
BUG59
NOT_SUPPORTED60
INV_OP61
TIMEOUT62
INTERNAL63
EOF_GCRYPT64
INV_OBJ65
TOO_SHORT66
TOO_LARGE67
NO_OBJ68
NOT_IMPLEMENTED69
CONFLICT70
INV_CIPHER_MODE71
INV_FLAG72
INV_HANDLE73
TRUNCATED74
INCOMPLETE_LINE75
INV_RESPONSE76
NO_AGENT77
AGENT78
INV_DATA79
ASSUAN_SERVER_FAULT80
ASSUAN81
INV_SESSION_KEY82
INV_SEXP83
UNSUPPORTED_ALGORITHM84
NO_PIN_ENTRY85
PIN_ENTRY86
BAD_PIN87
INV_NAME88
BAD_DATA89
INV_PARAMETER90
WRONG_CARD91
NO_DIRMNGR92
DIRMNGR93
CERT_REVOKED94
NO_CRL_KNOWN95
CRL_TOO_OLD96
LINE_TOO_LONG97
NOT_TRUSTED98
CANCELED99
BAD_CA_CERT100
CERT_EXPIRED101
CERT_TOO_YOUNG102
UNSUPPORTED_CERT103
UNKNOWN_SEXP104
UNSUPPORTED_PROTECTION105
CORRUPTED_PROTECTION106
AMBIGUOUS_NAME107
CARD108
CARD_RESET109
CARD_REMOVED110
INV_CARD111
CARD_NOT_PRESENT112
NO_PKCS15_APP113
NOT_CONFIRMED114
CONFIGURATION115
NO_POLICY_MATCH116
INV_INDEX117
INV_ID118
NO_SCDAEMON119
SCDAEMON120
UNSUPPORTED_PROTOCOL121
BAD_PIN_METHOD122
CARD_NOT_INITIALIZED123
UNSUPPORTED_OPERATION124
WRONG_KEY_USAGE125
NOTHING_FOUND126
WRONG_BLOB_TYPE127
MISSING_VALUE128
HARDWARE129
PIN_BLOCKED130
USE_CONDITIONS131
PIN_NOT_SYNCED132
INV_CRL133
BAD_BER134
INV_BER135
ELEMENT_NOT_FOUND136
IDENTIFIER_NOT_FOUND137
INV_TAG138
INV_LENGTH139
INV_KEYINFO140
UNEXPECTED_TAG141
NOT_DER_ENCODED142
NO_CMS_OBJ143
INV_CMS_OBJ144
UNKNOWN_CMS_OBJ145
UNSUPPORTED_CMS_OBJ146
UNSUPPORTED_ENCODING147
UNSUPPORTED_CMS_VERSION148
UNKNOWN_ALGORITHM149
INV_ENGINE150
PUBKEY_NOT_TRUSTED151
DECRYPT_FAILED152
KEY_EXPIRED153
SIG_EXPIRED154
ENCODING_PROBLEM155
INV_STATE156
DUP_VALUE157
MISSING_ACTION158
MODULE_NOT_FOUND159
INV_OID_STRING160
INV_TIME161
INV_CRL_OBJ162
UNSUPPORTED_CRL_VERSION163
INV_CERT_OBJ164
UNKNOWN_NAME165
LOCALE_PROBLEM166
NOT_LOCKED167
PROTOCOL_VIOLATION168
INV_MAC169
INV_REQUEST170
UNKNOWN_EXTN171
UNKNOWN_CRIT_EXTN172
LOCKED173
UNKNOWN_OPTION174
UNKNOWN_COMMAND175
NOT_OPERATIONAL176
NO_PASSPHRASE177
NO_PIN178
NOT_ENABLED179
NO_ENGINE180
MISSING_KEY181
TOO_MANY182
LIMIT_REACHED183
NOT_INITIALIZED184
MISSING_ISSUER_CERT185
NO_KEYSERVER186
INV_CURVE187
UNKNOWN_CURVE188
DUP_KEY189
AMBIGUOUS190
NO_CRYPT_CTX191
WRONG_CRYPT_CTX192
BAD_CRYPT_CTX193
CRYPT_CTX_CONFLICT194
BROKEN_PUBKEY195
BROKEN_SECKEY196
MAC_ALGO197
FULLY_CANCELED198
UNFINISHED199
BUFFER_TOO_SHORT200
SEXP_INV_LEN_SPEC201
SEXP_STRING_TOO_LONG202
SEXP_UNMATCHED_PAREN203
SEXP_NOT_CANONICAL204
SEXP_BAD_CHARACTER205
SEXP_BAD_QUOTATION206
SEXP_ZERO_PREFIX207
SEXP_NESTED_DH208
SEXP_UNMATCHED_DH209
SEXP_UNEXPECTED_PUNC210
SEXP_BAD_HEX_CHAR211
SEXP_ODD_HEX_NUMBERS212
SEXP_BAD_OCT_CHAR213
SERVER_FAILED219
NO_NAME220
NO_KEY221
LEGACY_KEY222
REQUEST_TOO_SHORT223
REQUEST_TOO_LONG224
OBJ_TERM_STATE225
NO_CERT_CHAIN226
CERT_TOO_LARGE227
INV_RECORD228
BAD_MAC229
UNEXPECTED_MSG230
COMPR_FAILED231
WOULD_WRAP232
FATAL_ALERT233
NO_CIPHER234
MISSING_CLIENT_CERT235
CLOSE_NOTIFY236
TICKET_EXPIRED237
BAD_TICKET238
UNKNOWN_IDENTITY239
BAD_HS_CERT240
BAD_HS_CERT_REQ241
BAD_HS_CERT_VER242
BAD_HS_CHANGE_CIPHER243
BAD_HS_CLIENT_HELLO244
BAD_HS_SERVER_HELLO245
BAD_HS_SERVER_HELLO_DONE246
BAD_HS_FINISHED247
BAD_HS_SERVER_KEX248
BAD_HS_CLIENT_KEX249
BOGUS_STRING250
FORBIDDEN251
KEY_DISABLED252
KEY_ON_CARD253
INV_LOCK_OBJ254
TRUE255
FALSE256
ASS_GENERAL257
ASS_ACCEPT_FAILED258
ASS_CONNECT_FAILED259
ASS_INV_RESPONSE260
ASS_INV_VALUE261
ASS_INCOMPLETE_LINE262
ASS_LINE_TOO_LONG263
ASS_NESTED_COMMANDS264
ASS_NO_DATA_CB265
ASS_NO_INQUIRE_CB266
ASS_NOT_A_SERVER267
ASS_NOT_A_CLIENT268
ASS_SERVER_START269
ASS_READ_ERROR270
ASS_WRITE_ERROR271
ASS_TOO_MUCH_DATA273
ASS_UNEXPECTED_CMD274
ASS_UNKNOWN_CMD275
ASS_SYNTAX276
ASS_CANCELED277
ASS_NO_INPUT278
ASS_NO_OUTPUT279
ASS_PARAMETER280
ASS_UNKNOWN_INQUIRE281
LDAP_GENERAL721
LDAP_ATTR_GENERAL722
LDAP_NAME_GENERAL723
LDAP_SECURITY_GENERAL724
LDAP_SERVICE_GENERAL725
LDAP_UPDATE_GENERAL726
LDAP_E_GENERAL727
LDAP_X_GENERAL728
LDAP_OTHER_GENERAL729
LDAP_X_CONNECTING750
LDAP_REFERRAL_LIMIT751
LDAP_CLIENT_LOOP752
LDAP_NO_RESULTS754
LDAP_CONTROL_NOT_FOUND755
LDAP_NOT_SUPPORTED756
LDAP_CONNECT757
LDAP_NO_MEMORY758
LDAP_PARAM759
LDAP_USER_CANCELLED760
LDAP_FILTER761
LDAP_AUTH_UNKNOWN762
LDAP_TIMEOUT763
LDAP_DECODING764
LDAP_ENCODING765
LDAP_LOCAL766
LDAP_SERVER_DOWN767
LDAP_SUCCESS768
LDAP_OPERATIONS769
LDAP_PROTOCOL770
LDAP_TIMELIMIT771
LDAP_SIZELIMIT772
LDAP_COMPARE_FALSE773
LDAP_COMPARE_TRUE774
LDAP_UNSUPPORTED_AUTH775
LDAP_STRONG_AUTH_RQRD776
LDAP_PARTIAL_RESULTS777
LDAP_REFERRAL778
LDAP_ADMINLIMIT779
LDAP_UNAVAIL_CRIT_EXTN780
LDAP_CONFIDENT_RQRD781
LDAP_SASL_BIND_INPROG782
LDAP_NO_SUCH_ATTRIBUTE784
LDAP_UNDEFINED_TYPE785
LDAP_BAD_MATCHING786
LDAP_CONST_VIOLATION787
LDAP_TYPE_VALUE_EXISTS788
LDAP_INV_SYNTAX789
LDAP_NO_SUCH_OBJ800
LDAP_ALIAS_PROBLEM801
LDAP_INV_DN_SYNTAX802
LDAP_IS_LEAF803
LDAP_ALIAS_DEREF804
LDAP_X_PROXY_AUTH_FAIL815
LDAP_BAD_AUTH816
LDAP_INV_CREDENTIALS817
LDAP_INSUFFICIENT_ACC818
LDAP_BUSY819
LDAP_UNAVAILABLE820
LDAP_UNWILL_TO_PERFORM821
LDAP_LOOP_DETECT822
LDAP_NAMING_VIOLATION832
LDAP_OBJ_CLS_VIOLATION833
LDAP_NOT_ALLOW_NONLEAF834
LDAP_NOT_ALLOW_ON_RDN835
LDAP_ALREADY_EXISTS836
LDAP_NO_OBJ_CLASS_MODS837
LDAP_RESULTS_TOO_LARGE838
LDAP_AFFECTS_MULT_DSAS839
LDAP_VLV844
LDAP_OTHER848
LDAP_CUP_RESOURCE_LIMIT881
LDAP_CUP_SEC_VIOLATION882
LDAP_CUP_INV_DATA883
LDAP_CUP_UNSUP_SCHEME884
LDAP_CUP_RELOAD885
LDAP_CANCELLED886
LDAP_NO_SUCH_OPERATION887
LDAP_TOO_LATE888
LDAP_CANNOT_CANCEL889
LDAP_ASSERTION_FAILED890
LDAP_PROX_AUTH_DENIED891
USER_1(1 << 10)
USER_2
USER_3
USER_4
USER_5
USER_6
USER_7
USER_8
USER_9
USER_10
USER_11
USER_12
USER_13
USER_14
USER_15
USER_16
MISSING_ERRNO(1 << 14) - 3
UNKNOWN_ERRNO(1 << 14) - 2
EOF(1 << 14) - 1
SYSTEM_ERROR(1 << 15)
E2BIGSYSTEM_ERROR | 0
EACCESSYSTEM_ERROR | 1
EADDRINUSESYSTEM_ERROR | 2
EADDRNOTAVAILSYSTEM_ERROR | 3
EADVSYSTEM_ERROR | 4
EAFNOSUPPORTSYSTEM_ERROR | 5
EAGAINSYSTEM_ERROR | 6
EALREADYSYSTEM_ERROR | 7
EAUTHSYSTEM_ERROR | 8
EBACKGROUNDSYSTEM_ERROR | 9
EBADESYSTEM_ERROR | 10
EBADFSYSTEM_ERROR | 11
EBADFDSYSTEM_ERROR | 12
EBADMSGSYSTEM_ERROR | 13
EBADRSYSTEM_ERROR | 14
EBADRPCSYSTEM_ERROR | 15
EBADRQCSYSTEM_ERROR | 16
EBADSLTSYSTEM_ERROR | 17
EBFONTSYSTEM_ERROR | 18
EBUSYSYSTEM_ERROR | 19
ECANCELEDSYSTEM_ERROR | 20
ECHILDSYSTEM_ERROR | 21
ECHRNGSYSTEM_ERROR | 22
ECOMMSYSTEM_ERROR | 23
ECONNABORTEDSYSTEM_ERROR | 24
ECONNREFUSEDSYSTEM_ERROR | 25
ECONNRESETSYSTEM_ERROR | 26
EDSYSTEM_ERROR | 27
EDEADLKSYSTEM_ERROR | 28
EDEADLOCKSYSTEM_ERROR | 29
EDESTADDRREQSYSTEM_ERROR | 30
EDIEDSYSTEM_ERROR | 31
EDOMSYSTEM_ERROR | 32
EDOTDOTSYSTEM_ERROR | 33
EDQUOTSYSTEM_ERROR | 34
EEXISTSYSTEM_ERROR | 35
EFAULTSYSTEM_ERROR | 36
EFBIGSYSTEM_ERROR | 37
EFTYPESYSTEM_ERROR | 38
EGRATUITOUSSYSTEM_ERROR | 39
EGREGIOUSSYSTEM_ERROR | 40
EHOSTDOWNSYSTEM_ERROR | 41
EHOSTUNREACHSYSTEM_ERROR | 42
EIDRMSYSTEM_ERROR | 43
EIEIOSYSTEM_ERROR | 44
EILSEQSYSTEM_ERROR | 45
EINPROGRESSSYSTEM_ERROR | 46
EINTRSYSTEM_ERROR | 47
EINVALSYSTEM_ERROR | 48
EIOSYSTEM_ERROR | 49
EISCONNSYSTEM_ERROR | 50
EISDIRSYSTEM_ERROR | 51
EISNAMSYSTEM_ERROR | 52
EL2HLTSYSTEM_ERROR | 53
EL2NSYNCSYSTEM_ERROR | 54
EL3HLTSYSTEM_ERROR | 55
EL3RSTSYSTEM_ERROR | 56
ELIBACCSYSTEM_ERROR | 57
ELIBBADSYSTEM_ERROR | 58
ELIBEXECSYSTEM_ERROR | 59
ELIBMAXSYSTEM_ERROR | 60
ELIBSCNSYSTEM_ERROR | 61
ELNRNGSYSTEM_ERROR | 62
ELOOPSYSTEM_ERROR | 63
EMEDIUMTYPESYSTEM_ERROR | 64
EMFILESYSTEM_ERROR | 65
EMSGSIZESYSTEM_ERROR | 67
EMULTIHOPSYSTEM_ERROR | 68
ENAMETOOLONGSYSTEM_ERROR | 69
ENAVAILSYSTEM_ERROR | 70
ENEEDAUTHSYSTEM_ERROR | 71
ENETDOWNSYSTEM_ERROR | 72
ENETRESETSYSTEM_ERROR | 73
ENETUNREACHSYSTEM_ERROR | 74
ENFILESYSTEM_ERROR | 75
ENOANOSYSTEM_ERROR | 76
ENOBUFSSYSTEM_ERROR | 77
ENOCSISYSTEM_ERROR | 78
ENODATASYSTEM_ERROR | 79
ENODEVSYSTEM_ERROR | 80
ENOENTSYSTEM_ERROR | 81
ENOEXECSYSTEM_ERROR | 82
ENOLCKSYSTEM_ERROR | 83
ENOMEDIUMSYSTEM_ERROR | 85
ENOMEMSYSTEM_ERROR | 86
ENOMSGSYSTEM_ERROR | 87
ENONETSYSTEM_ERROR | 88
ENOPKGSYSTEM_ERROR | 89
ENOPROTOOPTSYSTEM_ERROR | 90
ENOSPCSYSTEM_ERROR | 91
ENOSRSYSTEM_ERROR | 92
ENOSTRSYSTEM_ERROR | 93
ENOSYSSYSTEM_ERROR | 94
ENOTBLKSYSTEM_ERROR | 95
ENOTCONNSYSTEM_ERROR | 96
ENOTDIRSYSTEM_ERROR | 97
ENOTEMPTYSYSTEM_ERROR | 98
ENOTNAMSYSTEM_ERROR | 99
ENOTSOCKSYSTEM_ERROR | 100
ENOTSUPSYSTEM_ERROR | 101
ENOTTYSYSTEM_ERROR | 102
ENOTUNIQSYSTEM_ERROR | 103
ENXIOSYSTEM_ERROR | 104
EOPNOTSUPPSYSTEM_ERROR | 105
EOVERFLOWSYSTEM_ERROR | 106
EPERMSYSTEM_ERROR | 107
EPFNOSUPPORTSYSTEM_ERROR | 108
EPIPESYSTEM_ERROR | 109
EPROCLIMSYSTEM_ERROR | 110
EPROCUNAVAILSYSTEM_ERROR | 111
EPROGMISMATCHSYSTEM_ERROR | 112
EPROGUNAVAILSYSTEM_ERROR | 113
EPROTOSYSTEM_ERROR | 114
EPROTONOSUPPORTSYSTEM_ERROR | 115
EPROTOTYPESYSTEM_ERROR | 116
ERANGESYSTEM_ERROR | 117
EREMCHGSYSTEM_ERROR | 118
EREMOTESYSTEM_ERROR | 119
EREMOTEIOSYSTEM_ERROR | 120
ERESTARTSYSTEM_ERROR | 121
EROFSSYSTEM_ERROR | 122
ERPCMISMATCHSYSTEM_ERROR | 123
ESHUTDOWNSYSTEM_ERROR | 124
ESOCKTNOSUPPORTSYSTEM_ERROR | 125
ESPIPESYSTEM_ERROR | 126
ESRCHSYSTEM_ERROR | 127
ESRMNTSYSTEM_ERROR | 128
ESTALESYSTEM_ERROR | 129
ESTRPIPESYSTEM_ERROR | 130
ETIMESYSTEM_ERROR | 131
ETIMEDOUTSYSTEM_ERROR | 132
ETOOMANYREFSSYSTEM_ERROR | 133
ETXTBSYSYSTEM_ERROR | 134
EUCLEANSYSTEM_ERROR | 135
EUNATCHSYSTEM_ERROR | 136
EUSERSSYSTEM_ERROR | 137
EWOULDBLOCKSYSTEM_ERROR | 138
EXDEVSYSTEM_ERROR | 139
EXFULLSYSTEM_ERROR | 140
MASK(1 << 16) - 1

Meta