# err-codes.h.in - List of error codes and their description input file. /* err-codes.h - List of error codes and their description. Copyright (C) 2003 g10 Code GmbH This file is part of libgpg-error. libgpg-error is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. libgpg-error is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with libgpg-error; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # Everything up to the first line that starts with a number in the # first column is copied into the output verbatim. Then, empty lines # are ignored. Other lines must have an error code number, followed # by exactly one , followed by the error message. Trailing # whitespace is removed. The error codes should be sorted. The last # line should not have a number, but only a , followed by a # description for error codes that are not in the list. 0 Success 1 General error 2 Unknown packet 3 Unknown version in packet 4 Invalid public key algorithm 5 Invalid digest algorithm 6 Bad public key 7 Bad secret key 8 Bad signature 9 No public key 10 Checksum error 11 Bad passphrase 12 Invalid cipher algorithm 13 Keyring open 14 Invalid packet 15 Invalid armor 16 No user ID 17 No secret key 18 Wrong secret key used 19 Bad session key 20 Unknown compression algorithm 21 Number is not prime 30 Bad MPI value 31 Invalid passphrase 32 Invalid signature class 33 Resources exhausted 34 Invalid keyring 35 Trust DB error 36 Bad certificate 37 Invalid user ID 38 Unexpected error 39 Time conflict 40 Keyserver error 41 Wrong public key algorithm 42 Tribute to D. A. 43 Weak encryption key 44 Invalid key length 45 Invalid argument 46 Syntax error in URI 47 Invalid URI 48 Network error 49 Unknown host 50 Selftest failed 51 Data not encrypted 52 Data not processed 53 Unusable public key 54 Unusable secret key 55 Invalid value 56 Bad certificate chain 57 Missing certificate 58 No data 59 Bug 60 Not supported 61 Invalid operation code 62 Timeout 63 Internal error 64 EOF (gcrypt) 65 Invalid object 66 Provided object is too short 67 Provided object is too large 68 Missing item in object 69 Not implemented 70 Conflicting use 71 Invalid cipher mode 72 Invalid flag 73 Invalid handle 75 Incomplete line 76 Invalid response 77 No agent running 78 agent error 79 Invalid data 80 Assuan server fault 81 Assuan error 82 Invalid session key 83 Invalid S-expression 84 Unsupported algorithm 85 No pinentry 86 pinentry error 87 Bad PIN 88 Invalid name 89 Bad data 90 Invalid parameter 91 Wrong card 92 No dirmngr 93 dirmngr error 94 Certificate revoced 95 No CRL known 96 CRL too old 97 Line too long 98 Not trusted 99 Operation cancelled 100 Bad CA certificate 101 Certificate expired 102 Certificate too young 103 Unsupported certificate 104 Unknown S-expression 105 Unsupported protection 106 Corrupted protection 107 Ambiguous name 108 Card error 109 Card reset 110 Card removed 111 Invalid card 112 Card not present 113 No PKCS15 application 114 Not confirmed 115 Configuration error 116 No policy match 117 Invalid index 118 Invalid ID 119 No SmartCard daemon 120 SmartCard daemon error 121 Unsupported protocol 122 Bad PIN method 123 Card not initialized 124 Unsupported operation 125 Wrong key usage 126 Nothing found 127 Wrong blob type 128 Missing value 129 Hardware problem 130 PIN blocked 131 Conditions of use not satisfied 132 PINs are not synced 150 Invalid crypto engine 151 Public key not trusted 152 Decryption failed 153 Key expired 154 Signature expired 201 Invalid length specifier in S-expression 202 String too long in S-expression 203 Unmatched parentheses in S-expression 204 S-expression not canonical 205 Bad character in S-expression 206 Bad quotation in S-expression 207 Zero prefix in S-expression 208 Nested display hints in S-expression 209 Unmatched display hints 210 Unexpected reserved punctuation in S-expression 211 Bad hexadecimal character in S-expression 212 Odd hexadecimal numbers in S-expression 213 Bad octadecimal character in S-expression 1024 User defined error code 1 1025 User defined error code 2 1026 User defined error code 3 1027 User defined error code 4 1028 User defined error code 5 1029 User defined error code 6 1030 User defined error code 7 1031 User defined error code 8 1032 User defined error code 9 1033 User defined error code 10 1034 User defined error code 11 1035 User defined error code 12 1036 User defined error code 13 1037 User defined error code 14 1038 User defined error code 15 1039 User defined error code 16 16382 Unknown system error 16383 End of file Unknown error code