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
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.
33 3 Unknown version in packet
34 4 Invalid
public key algorithm
35 5 Invalid digest algorithm
42 12 Invalid cipher algorithm
48 18 Wrong secret key used
50 20 Unknown compression algorithm
53 32 Invalid signature
class
54 33 Resources exhausted
62 41 Wrong
public key algorithm
64 43 Weak encryption key
67 46 Syntax error in URI
74 53 Unusable
public key
75 54 Unusable secret key
77 56 Bad certificate chain
78 57 Missing certificate
82 61 Invalid operation code
87 66 Provided object is too
short
88 67 Provided object is too large
89 68 Missing item in object
92 71 Invalid cipher mode
100 80 Assuan server fault
102 82 Invalid session key
103 83 Invalid S
-expression
104 84 Unsupported algorithm
114 94 Certificate revoced
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
133 113 No PKCS15 application
135 115 Configuration error
139 119 No SmartCard daemon
140 120 SmartCard daemon error
141 121 Unsupported protocol
143 123 Card
not initialized
144 124 Unsupported operation
151 131 Conditions of use
not satisfied
152 150 Invalid crypto engine
153 151 Public key
not trusted
154 152 Decryption failed
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