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