Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
svn_error_codes.h
Go to the documentation of this file.
1 /**
2  * @copyright
3  * ====================================================================
4  * Licensed to the Apache Software Foundation (ASF) under one
5  * or more contributor license agreements. See the NOTICE file
6  * distributed with this work for additional information
7  * regarding copyright ownership. The ASF licenses this file
8  * to you under the Apache License, Version 2.0 (the
9  * "License"); you may not use this file except in compliance
10  * with the License. You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing,
15  * software distributed under the License is distributed on an
16  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17  * KIND, either express or implied. See the License for the
18  * specific language governing permissions and limitations
19  * under the License.
20  * ====================================================================
21  * @endcopyright
22  *
23  * @file svn_error_codes.h
24  * @brief Subversion error codes.
25  */
26 
27 /* What's going on here?
28 
29  In order to define error codes and their associated description
30  strings in the same place, we overload the SVN_ERRDEF() macro with
31  two definitions below. Both take two arguments, an error code name
32  and a description string. One definition of the macro just throws
33  away the string and defines enumeration constants using the error
34  code names -- that definition is used by the header file that
35  exports error codes to the rest of Subversion. The other
36  definition creates a static table mapping the enum codes to their
37  corresponding strings -- that definition is used by the C file that
38  implements svn_strerror().
39 
40  The header and C files both include this file, using #defines to
41  control which version of the macro they get.
42 */
43 
44 
45 /* Process this file if we're building an error array, or if we have
46  not defined the enumerated constants yet. */
47 #if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED)
48 
49 /* Note: despite lacking double underscores in its name, the macro
50  SVN_ERROR_BUILD_ARRAY is an implementation detail of Subversion and not
51  a public API. */
52 
53 
54 #include <apr_errno.h> /* APR's error system */
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif /* __cplusplus */
59 
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 
62 #if defined(SVN_ERROR_BUILD_ARRAY)
63 
64 #define SVN_ERROR_START \
65  static const err_defn error_table[] = { \
66  { SVN_WARNING, "SVN_WARNING", "Warning" },
67 #define SVN_ERRDEF(num, offset, str) { num, #num, str },
68 #define SVN_ERROR_END { 0, NULL, NULL } };
69 
70 #elif !defined(SVN_ERROR_ENUM_DEFINED)
71 
72 #define SVN_ERROR_START \
73  typedef enum svn_errno_t { \
74  SVN_WARNING = APR_OS_START_USERERR + 1,
75 #define SVN_ERRDEF(num, offset, str) /** str */ num = offset,
76 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
77 
78 #define SVN_ERROR_ENUM_DEFINED
79 
80 #endif
81 
82 /* Define custom Subversion error numbers, in the range reserved for
83  that in APR: from APR_OS_START_USERERR to APR_OS_START_SYSERR (see
84  apr_errno.h).
85 
86  Error numbers are divided into categories of up to 5000 errors
87  each. Since we're dividing up the APR user error space, which has
88  room for 500,000 errors, we can have up to 100 categories.
89  Categories are fixed-size; if a category has fewer than 5000
90  errors, then it just ends with a range of unused numbers.
91 
92  To maintain binary compatibility, please observe these guidelines:
93 
94  - When adding a new error, always add on the end of the
95  appropriate category, so that the real values of existing
96  errors are not changed.
97 
98  - When deleting an error, leave a placeholder comment indicating
99  the offset, again so that the values of other errors are not
100  perturbed.
101 */
102 
103 #define SVN_ERR_CATEGORY_SIZE 5000
104 
105 /* Leave one category of room at the beginning, for SVN_WARNING and
106  any other such beasts we might create in the future. */
107 #define SVN_ERR_BAD_CATEGORY_START (APR_OS_START_USERERR \
108  + ( 1 * SVN_ERR_CATEGORY_SIZE))
109 #define SVN_ERR_XML_CATEGORY_START (APR_OS_START_USERERR \
110  + ( 2 * SVN_ERR_CATEGORY_SIZE))
111 #define SVN_ERR_IO_CATEGORY_START (APR_OS_START_USERERR \
112  + ( 3 * SVN_ERR_CATEGORY_SIZE))
113 #define SVN_ERR_STREAM_CATEGORY_START (APR_OS_START_USERERR \
114  + ( 4 * SVN_ERR_CATEGORY_SIZE))
115 #define SVN_ERR_NODE_CATEGORY_START (APR_OS_START_USERERR \
116  + ( 5 * SVN_ERR_CATEGORY_SIZE))
117 #define SVN_ERR_ENTRY_CATEGORY_START (APR_OS_START_USERERR \
118  + ( 6 * SVN_ERR_CATEGORY_SIZE))
119 #define SVN_ERR_WC_CATEGORY_START (APR_OS_START_USERERR \
120  + ( 7 * SVN_ERR_CATEGORY_SIZE))
121 #define SVN_ERR_FS_CATEGORY_START (APR_OS_START_USERERR \
122  + ( 8 * SVN_ERR_CATEGORY_SIZE))
123 #define SVN_ERR_REPOS_CATEGORY_START (APR_OS_START_USERERR \
124  + ( 9 * SVN_ERR_CATEGORY_SIZE))
125 #define SVN_ERR_RA_CATEGORY_START (APR_OS_START_USERERR \
126  + (10 * SVN_ERR_CATEGORY_SIZE))
127 #define SVN_ERR_RA_DAV_CATEGORY_START (APR_OS_START_USERERR \
128  + (11 * SVN_ERR_CATEGORY_SIZE))
129 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
130  + (12 * SVN_ERR_CATEGORY_SIZE))
131 #define SVN_ERR_SVNDIFF_CATEGORY_START (APR_OS_START_USERERR \
132  + (13 * SVN_ERR_CATEGORY_SIZE))
133 #define SVN_ERR_APMOD_CATEGORY_START (APR_OS_START_USERERR \
134  + (14 * SVN_ERR_CATEGORY_SIZE))
135 #define SVN_ERR_CLIENT_CATEGORY_START (APR_OS_START_USERERR \
136  + (15 * SVN_ERR_CATEGORY_SIZE))
137 #define SVN_ERR_MISC_CATEGORY_START (APR_OS_START_USERERR \
138  + (16 * SVN_ERR_CATEGORY_SIZE))
139 #define SVN_ERR_CL_CATEGORY_START (APR_OS_START_USERERR \
140  + (17 * SVN_ERR_CATEGORY_SIZE))
141 #define SVN_ERR_RA_SVN_CATEGORY_START (APR_OS_START_USERERR \
142  + (18 * SVN_ERR_CATEGORY_SIZE))
143 #define SVN_ERR_AUTHN_CATEGORY_START (APR_OS_START_USERERR \
144  + (19 * SVN_ERR_CATEGORY_SIZE))
145 #define SVN_ERR_AUTHZ_CATEGORY_START (APR_OS_START_USERERR \
146  + (20 * SVN_ERR_CATEGORY_SIZE))
147 #define SVN_ERR_DIFF_CATEGORY_START (APR_OS_START_USERERR \
148  + (21 * SVN_ERR_CATEGORY_SIZE))
149 #define SVN_ERR_RA_SERF_CATEGORY_START (APR_OS_START_USERERR \
150  + (22 * SVN_ERR_CATEGORY_SIZE))
151 #define SVN_ERR_MALFUNC_CATEGORY_START (APR_OS_START_USERERR \
152  + (23 * SVN_ERR_CATEGORY_SIZE))
153 #define SVN_ERR_X509_CATEGORY_START (APR_OS_START_USERERR \
154  + (24 * SVN_ERR_CATEGORY_SIZE))
155 
156 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
157 
158 /** Collection of Subversion error code values, located within the
159  * APR user error space. */
160 SVN_ERROR_START
161 
162  /* validation ("BAD_FOO") errors */
163 
164  SVN_ERRDEF(SVN_ERR_BAD_CONTAINING_POOL,
165  SVN_ERR_BAD_CATEGORY_START + 0,
166  "Bad parent pool passed to svn_make_pool()")
167 
168  SVN_ERRDEF(SVN_ERR_BAD_FILENAME,
169  SVN_ERR_BAD_CATEGORY_START + 1,
170  "Bogus filename")
171 
172  SVN_ERRDEF(SVN_ERR_BAD_URL,
173  SVN_ERR_BAD_CATEGORY_START + 2,
174  "Bogus URL")
175 
176  SVN_ERRDEF(SVN_ERR_BAD_DATE,
177  SVN_ERR_BAD_CATEGORY_START + 3,
178  "Bogus date")
179 
180  SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE,
181  SVN_ERR_BAD_CATEGORY_START + 4,
182  "Bogus mime-type")
183 
184  /** @since New in 1.5.
185  *
186  * Note that there was an unused slot sitting here at
187  * SVN_ERR_BAD_CATEGORY_START + 5, so error codes after this aren't
188  * necessarily "New in 1.5" just because they come later.
189  */
190  SVN_ERRDEF(SVN_ERR_BAD_PROPERTY_VALUE,
191  SVN_ERR_BAD_CATEGORY_START + 5,
192  "Wrong or unexpected property value")
193 
195  SVN_ERR_BAD_CATEGORY_START + 6,
196  "Version file format not correct")
197 
198  SVN_ERRDEF(SVN_ERR_BAD_RELATIVE_PATH,
199  SVN_ERR_BAD_CATEGORY_START + 7,
200  "Path is not an immediate child of the specified directory")
201 
202  SVN_ERRDEF(SVN_ERR_BAD_UUID,
203  SVN_ERR_BAD_CATEGORY_START + 8,
204  "Bogus UUID")
205 
206  /** @since New in 1.6. */
207  SVN_ERRDEF(SVN_ERR_BAD_CONFIG_VALUE,
208  SVN_ERR_BAD_CATEGORY_START + 9,
209  "Invalid configuration value")
210 
212  SVN_ERR_BAD_CATEGORY_START + 10,
213  "Bogus server specification")
214 
215  SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_KIND,
216  SVN_ERR_BAD_CATEGORY_START + 11,
217  "Unsupported checksum type")
218 
219  SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_PARSE,
220  SVN_ERR_BAD_CATEGORY_START + 12,
221  "Invalid character in hex checksum")
222 
223  /** @since New in 1.7. */
224  SVN_ERRDEF(SVN_ERR_BAD_TOKEN,
225  SVN_ERR_BAD_CATEGORY_START + 13,
226  "Unknown string value of token")
227 
228  /** @since New in 1.7. */
229  SVN_ERRDEF(SVN_ERR_BAD_CHANGELIST_NAME,
230  SVN_ERR_BAD_CATEGORY_START + 14,
231  "Invalid changelist name")
232 
233  /** @since New in 1.8. */
234  SVN_ERRDEF(SVN_ERR_BAD_ATOMIC,
235  SVN_ERR_BAD_CATEGORY_START + 15,
236  "Invalid atomic")
237 
238  /** @since New in 1.9. */
240  SVN_ERR_BAD_CATEGORY_START + 16,
241  "Invalid compression method")
242 
243  /* xml errors */
244 
245  SVN_ERRDEF(SVN_ERR_XML_ATTRIB_NOT_FOUND,
246  SVN_ERR_XML_CATEGORY_START + 0,
247  "No such XML tag attribute")
248 
249  SVN_ERRDEF(SVN_ERR_XML_MISSING_ANCESTRY,
250  SVN_ERR_XML_CATEGORY_START + 1,
251  "<delta-pkg> is missing ancestry")
252 
253  SVN_ERRDEF(SVN_ERR_XML_UNKNOWN_ENCODING,
254  SVN_ERR_XML_CATEGORY_START + 2,
255  "Unrecognized binary data encoding; can't decode")
256 
257  SVN_ERRDEF(SVN_ERR_XML_MALFORMED,
258  SVN_ERR_XML_CATEGORY_START + 3,
259  "XML data was not well-formed")
260 
261  SVN_ERRDEF(SVN_ERR_XML_UNESCAPABLE_DATA,
262  SVN_ERR_XML_CATEGORY_START + 4,
263  "Data cannot be safely XML-escaped")
264 
265  /** @since New in 1.9. */
267  SVN_ERR_XML_CATEGORY_START + 5,
268  "Unexpected XML element found")
269 
270  /* io errors */
271 
272  SVN_ERRDEF(SVN_ERR_IO_INCONSISTENT_EOL,
273  SVN_ERR_IO_CATEGORY_START + 0,
274  "Inconsistent line ending style")
275 
276  SVN_ERRDEF(SVN_ERR_IO_UNKNOWN_EOL,
277  SVN_ERR_IO_CATEGORY_START + 1,
278  "Unrecognized line ending style")
279 
280  /** @deprecated Unused, slated for removal in the next major release. */
281  SVN_ERRDEF(SVN_ERR_IO_CORRUPT_EOL,
282  SVN_ERR_IO_CATEGORY_START + 2,
283  "Line endings other than expected")
284 
286  SVN_ERR_IO_CATEGORY_START + 3,
287  "Ran out of unique names")
288 
289  /** @deprecated Unused, slated for removal in the next major release. */
290  SVN_ERRDEF(SVN_ERR_IO_PIPE_FRAME_ERROR,
291  SVN_ERR_IO_CATEGORY_START + 4,
292  "Framing error in pipe protocol")
293 
294  /** @deprecated Unused, slated for removal in the next major release. */
295  SVN_ERRDEF(SVN_ERR_IO_PIPE_READ_ERROR,
296  SVN_ERR_IO_CATEGORY_START + 5,
297  "Read error in pipe")
298 
299  SVN_ERRDEF(SVN_ERR_IO_WRITE_ERROR,
300  SVN_ERR_IO_CATEGORY_START + 6,
301  "Write error")
302 
303  /** @since New in 1.7. */
304  SVN_ERRDEF(SVN_ERR_IO_PIPE_WRITE_ERROR,
305  SVN_ERR_IO_CATEGORY_START + 7,
306  "Write error in pipe")
307 
308  /* stream errors */
309 
311  SVN_ERR_STREAM_CATEGORY_START + 0,
312  "Unexpected EOF on stream")
313 
315  SVN_ERR_STREAM_CATEGORY_START + 1,
316  "Malformed stream data")
317 
319  SVN_ERR_STREAM_CATEGORY_START + 2,
320  "Unrecognized stream data")
321 
322  /** @since New in 1.7. */
324  SVN_ERR_STREAM_CATEGORY_START + 3,
325  "Stream doesn't support seeking")
326 
327  /** Since New in 1.9. */
328  SVN_ERRDEF(SVN_ERR_STREAM_NOT_SUPPORTED,
329  SVN_ERR_STREAM_CATEGORY_START + 4,
330  "Stream doesn't support this capability")
331 
332  /* node errors */
333 
334  SVN_ERRDEF(SVN_ERR_NODE_UNKNOWN_KIND,
335  SVN_ERR_NODE_CATEGORY_START + 0,
336  "Unknown svn_node_kind")
337 
338  SVN_ERRDEF(SVN_ERR_NODE_UNEXPECTED_KIND,
339  SVN_ERR_NODE_CATEGORY_START + 1,
340  "Unexpected node kind found")
341 
342  /* entry errors */
343 
344  SVN_ERRDEF(SVN_ERR_ENTRY_NOT_FOUND,
345  SVN_ERR_ENTRY_CATEGORY_START + 0,
346  "Can't find an entry")
347 
348  /* UNUSED error slot: + 1 */
349 
350  SVN_ERRDEF(SVN_ERR_ENTRY_EXISTS,
351  SVN_ERR_ENTRY_CATEGORY_START + 2,
352  "Entry already exists")
353 
355  SVN_ERR_ENTRY_CATEGORY_START + 3,
356  "Entry has no revision")
357 
358  SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_URL,
359  SVN_ERR_ENTRY_CATEGORY_START + 4,
360  "Entry has no URL")
361 
363  SVN_ERR_ENTRY_CATEGORY_START + 5,
364  "Entry has an invalid attribute")
365 
366  SVN_ERRDEF(SVN_ERR_ENTRY_FORBIDDEN,
367  SVN_ERR_ENTRY_CATEGORY_START + 6,
368  "Can't create an entry for a forbidden name")
369 
370  /* wc errors */
371 
372  SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE,
373  SVN_ERR_WC_CATEGORY_START + 0,
374  "Obstructed update")
375 
376  /** @deprecated Unused, slated for removal in the next major release. */
377  SVN_ERRDEF(SVN_ERR_WC_UNWIND_MISMATCH,
378  SVN_ERR_WC_CATEGORY_START + 1,
379  "Mismatch popping the WC unwind stack")
380 
381  /** @deprecated Unused, slated for removal in the next major release. */
382  SVN_ERRDEF(SVN_ERR_WC_UNWIND_EMPTY,
383  SVN_ERR_WC_CATEGORY_START + 2,
384  "Attempt to pop empty WC unwind stack")
385 
386  /** @deprecated Unused, slated for removal in the next major release. */
387  SVN_ERRDEF(SVN_ERR_WC_UNWIND_NOT_EMPTY,
388  SVN_ERR_WC_CATEGORY_START + 3,
389  "Attempt to unlock with non-empty unwind stack")
390 
391  SVN_ERRDEF(SVN_ERR_WC_LOCKED,
392  SVN_ERR_WC_CATEGORY_START + 4,
393  "Attempted to lock an already-locked dir")
394 
395  SVN_ERRDEF(SVN_ERR_WC_NOT_LOCKED,
396  SVN_ERR_WC_CATEGORY_START + 5,
397  "Working copy not locked; this is probably a bug, please report")
398 
399  /** @deprecated Unused, slated for removal in the next major release. */
400  SVN_ERRDEF(SVN_ERR_WC_INVALID_LOCK,
401  SVN_ERR_WC_CATEGORY_START + 6,
402  "Invalid lock")
403 
404  /** @since New in 1.7. Previously this error number was used by
405  * #SVN_ERR_WC_NOT_DIRECTORY, which is now an alias for this error. */
406  SVN_ERRDEF(SVN_ERR_WC_NOT_WORKING_COPY,
407  SVN_ERR_WC_CATEGORY_START + 7,
408  "Path is not a working copy directory")
409 
410  /** @deprecated Provided for backward compatibility with the 1.6 API.
411  * Use #SVN_ERR_WC_NOT_WORKING_COPY. */
412  SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY,
413  SVN_ERR_WC_NOT_WORKING_COPY,
414  "Path is not a working copy directory")
415 
416  SVN_ERRDEF(SVN_ERR_WC_NOT_FILE,
417  SVN_ERR_WC_CATEGORY_START + 8,
418  "Path is not a working copy file")
419 
420  SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG,
421  SVN_ERR_WC_CATEGORY_START + 9,
422  "Problem running log")
423 
424  SVN_ERRDEF(SVN_ERR_WC_PATH_NOT_FOUND,
425  SVN_ERR_WC_CATEGORY_START + 10,
426  "Can't find a working copy path")
427 
428  SVN_ERRDEF(SVN_ERR_WC_NOT_UP_TO_DATE,
429  SVN_ERR_WC_CATEGORY_START + 11,
430  "Working copy is not up-to-date")
431 
432  SVN_ERRDEF(SVN_ERR_WC_LEFT_LOCAL_MOD,
433  SVN_ERR_WC_CATEGORY_START + 12,
434  "Left locally modified or unversioned files")
435 
436  SVN_ERRDEF(SVN_ERR_WC_SCHEDULE_CONFLICT,
437  SVN_ERR_WC_CATEGORY_START + 13,
438  "Unmergeable scheduling requested on an entry")
439 
440  SVN_ERRDEF(SVN_ERR_WC_PATH_FOUND,
441  SVN_ERR_WC_CATEGORY_START + 14,
442  "Found a working copy path")
443 
444  SVN_ERRDEF(SVN_ERR_WC_FOUND_CONFLICT,
445  SVN_ERR_WC_CATEGORY_START + 15,
446  "A conflict in the working copy obstructs the current operation")
447 
448  SVN_ERRDEF(SVN_ERR_WC_CORRUPT,
449  SVN_ERR_WC_CATEGORY_START + 16,
450  "Working copy is corrupt")
451 
452  SVN_ERRDEF(SVN_ERR_WC_CORRUPT_TEXT_BASE,
453  SVN_ERR_WC_CATEGORY_START + 17,
454  "Working copy text base is corrupt")
455 
456  SVN_ERRDEF(SVN_ERR_WC_NODE_KIND_CHANGE,
457  SVN_ERR_WC_CATEGORY_START + 18,
458  "Cannot change node kind")
459 
460  SVN_ERRDEF(SVN_ERR_WC_INVALID_OP_ON_CWD,
461  SVN_ERR_WC_CATEGORY_START + 19,
462  "Invalid operation on the current working directory")
463 
464  SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG_START,
465  SVN_ERR_WC_CATEGORY_START + 20,
466  "Problem on first log entry in a working copy")
467 
469  SVN_ERR_WC_CATEGORY_START + 21,
470  "Unsupported working copy format")
471 
472  SVN_ERRDEF(SVN_ERR_WC_BAD_PATH,
473  SVN_ERR_WC_CATEGORY_START + 22,
474  "Path syntax not supported in this context")
475 
476  /** @since New in 1.2. */
477  SVN_ERRDEF(SVN_ERR_WC_INVALID_SCHEDULE,
478  SVN_ERR_WC_CATEGORY_START + 23,
479  "Invalid schedule")
480 
481  /** @since New in 1.3. */
483  SVN_ERR_WC_CATEGORY_START + 24,
484  "Invalid relocation")
485 
486  /** @since New in 1.3. */
487  SVN_ERRDEF(SVN_ERR_WC_INVALID_SWITCH,
488  SVN_ERR_WC_CATEGORY_START + 25,
489  "Invalid switch")
490 
491  /** @since New in 1.5. */
493  SVN_ERR_WC_CATEGORY_START + 26,
494  "Changelist doesn't match")
495 
496  /** @since New in 1.5. */
498  SVN_ERR_WC_CATEGORY_START + 27,
499  "Conflict resolution failed")
500 
502  SVN_ERR_WC_CATEGORY_START + 28,
503  "Failed to locate 'copyfrom' path in working copy")
504 
505  /** @since New in 1.5.
506  * @deprecated Provided for backward compatibility with the 1.6 API.
507  * This event is not an error, and is now reported
508  * via the standard notification mechanism instead. */
509  SVN_ERRDEF(SVN_ERR_WC_CHANGELIST_MOVE,
510  SVN_ERR_WC_CATEGORY_START + 29,
511  "Moving a path from one changelist to another")
512 
513  /** @since New in 1.6. */
515  SVN_ERR_WC_CATEGORY_START + 30,
516  "Cannot delete a file external")
517 
518  /** @since New in 1.6. */
520  SVN_ERR_WC_CATEGORY_START + 31,
521  "Cannot move a file external")
522 
523  /** @since New in 1.7. */
524  SVN_ERRDEF(SVN_ERR_WC_DB_ERROR,
525  SVN_ERR_WC_CATEGORY_START + 32,
526  "Something's amiss with the wc sqlite database")
527 
528  /** @since New in 1.7. */
529  SVN_ERRDEF(SVN_ERR_WC_MISSING,
530  SVN_ERR_WC_CATEGORY_START + 33,
531  "The working copy is missing")
532 
533  /** @since New in 1.7. */
534  SVN_ERRDEF(SVN_ERR_WC_NOT_SYMLINK,
535  SVN_ERR_WC_CATEGORY_START + 34,
536  "The specified node is not a symlink")
537 
538  /** @since New in 1.7. */
540  SVN_ERR_WC_CATEGORY_START + 35,
541  "The specified path has an unexpected status")
542 
543  /** @since New in 1.7. */
544  SVN_ERRDEF(SVN_ERR_WC_UPGRADE_REQUIRED,
545  SVN_ERR_WC_CATEGORY_START + 36,
546  "The working copy needs to be upgraded")
547 
548  /** @since New in 1.7. */
549  SVN_ERRDEF(SVN_ERR_WC_CLEANUP_REQUIRED,
550  SVN_ERR_WC_CATEGORY_START + 37,
551  "Previous operation has not finished; "
552  "run 'cleanup' if it was interrupted")
553 
554  /** @since New in 1.7. */
556  SVN_ERR_WC_CATEGORY_START + 38,
557  "The operation cannot be performed with the specified depth")
558 
559  /** @since New in 1.7. */
561  SVN_ERR_WC_CATEGORY_START + 39,
562  "Couldn't open a working copy file because access was denied")
563 
564  /** @since New in 1.8. */
565  SVN_ERRDEF(SVN_ERR_WC_MIXED_REVISIONS,
566  SVN_ERR_WC_CATEGORY_START + 40,
567  "Mixed-revision working copy was found but not expected")
568 
569  /** @since New in 1.8 */
571  SVN_ERR_WC_CATEGORY_START + 41,
572  "Duplicate targets in svn:externals property")
573 
574  /* fs errors */
575 
576  SVN_ERRDEF(SVN_ERR_FS_GENERAL,
577  SVN_ERR_FS_CATEGORY_START + 0,
578  "General filesystem error")
579 
580  SVN_ERRDEF(SVN_ERR_FS_CLEANUP,
581  SVN_ERR_FS_CATEGORY_START + 1,
582  "Error closing filesystem")
583 
584  SVN_ERRDEF(SVN_ERR_FS_ALREADY_OPEN,
585  SVN_ERR_FS_CATEGORY_START + 2,
586  "Filesystem is already open")
587 
588  SVN_ERRDEF(SVN_ERR_FS_NOT_OPEN,
589  SVN_ERR_FS_CATEGORY_START + 3,
590  "Filesystem is not open")
591 
592  SVN_ERRDEF(SVN_ERR_FS_CORRUPT,
593  SVN_ERR_FS_CATEGORY_START + 4,
594  "Filesystem is corrupt")
595 
596  SVN_ERRDEF(SVN_ERR_FS_PATH_SYNTAX,
597  SVN_ERR_FS_CATEGORY_START + 5,
598  "Invalid filesystem path syntax")
599 
600  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REVISION,
601  SVN_ERR_FS_CATEGORY_START + 6,
602  "Invalid filesystem revision number")
603 
605  SVN_ERR_FS_CATEGORY_START + 7,
606  "Invalid filesystem transaction name")
607 
608  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_ENTRY,
609  SVN_ERR_FS_CATEGORY_START + 8,
610  "Filesystem directory has no such entry")
611 
613  SVN_ERR_FS_CATEGORY_START + 9,
614  "Filesystem has no such representation")
615 
616  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_STRING,
617  SVN_ERR_FS_CATEGORY_START + 10,
618  "Filesystem has no such string")
619 
620  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_COPY,
621  SVN_ERR_FS_CATEGORY_START + 11,
622  "Filesystem has no such copy")
623 
625  SVN_ERR_FS_CATEGORY_START + 12,
626  "The specified transaction is not mutable")
627 
628  SVN_ERRDEF(SVN_ERR_FS_NOT_FOUND,
629  SVN_ERR_FS_CATEGORY_START + 13,
630  "Filesystem has no item")
631 
632  SVN_ERRDEF(SVN_ERR_FS_ID_NOT_FOUND,
633  SVN_ERR_FS_CATEGORY_START + 14,
634  "Filesystem has no such node-rev-id")
635 
636  SVN_ERRDEF(SVN_ERR_FS_NOT_ID,
637  SVN_ERR_FS_CATEGORY_START + 15,
638  "String does not represent a node or node-rev-id")
639 
640  SVN_ERRDEF(SVN_ERR_FS_NOT_DIRECTORY,
641  SVN_ERR_FS_CATEGORY_START + 16,
642  "Name does not refer to a filesystem directory")
643 
644  SVN_ERRDEF(SVN_ERR_FS_NOT_FILE,
645  SVN_ERR_FS_CATEGORY_START + 17,
646  "Name does not refer to a filesystem file")
647 
649  SVN_ERR_FS_CATEGORY_START + 18,
650  "Name is not a single path component")
651 
652  SVN_ERRDEF(SVN_ERR_FS_NOT_MUTABLE,
653  SVN_ERR_FS_CATEGORY_START + 19,
654  "Attempt to change immutable filesystem node")
655 
656  SVN_ERRDEF(SVN_ERR_FS_ALREADY_EXISTS,
657  SVN_ERR_FS_CATEGORY_START + 20,
658  "Item already exists in filesystem")
659 
660  SVN_ERRDEF(SVN_ERR_FS_ROOT_DIR,
661  SVN_ERR_FS_CATEGORY_START + 21,
662  "Attempt to remove or recreate fs root dir")
663 
664  SVN_ERRDEF(SVN_ERR_FS_NOT_TXN_ROOT,
665  SVN_ERR_FS_CATEGORY_START + 22,
666  "Object is not a transaction root")
667 
668  SVN_ERRDEF(SVN_ERR_FS_NOT_REVISION_ROOT,
669  SVN_ERR_FS_CATEGORY_START + 23,
670  "Object is not a revision root")
671 
672  SVN_ERRDEF(SVN_ERR_FS_CONFLICT,
673  SVN_ERR_FS_CATEGORY_START + 24,
674  "Merge conflict during commit")
675 
676  SVN_ERRDEF(SVN_ERR_FS_REP_CHANGED,
677  SVN_ERR_FS_CATEGORY_START + 25,
678  "A representation vanished or changed between reads")
679 
680  SVN_ERRDEF(SVN_ERR_FS_REP_NOT_MUTABLE,
681  SVN_ERR_FS_CATEGORY_START + 26,
682  "Tried to change an immutable representation")
683 
684  SVN_ERRDEF(SVN_ERR_FS_MALFORMED_SKEL,
685  SVN_ERR_FS_CATEGORY_START + 27,
686  "Malformed skeleton data")
687 
688  SVN_ERRDEF(SVN_ERR_FS_TXN_OUT_OF_DATE,
689  SVN_ERR_FS_CATEGORY_START + 28,
690  "Transaction is out of date")
691 
692  SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB,
693  SVN_ERR_FS_CATEGORY_START + 29,
694  "Berkeley DB error")
695 
697  SVN_ERR_FS_CATEGORY_START + 30,
698  "Berkeley DB deadlock error")
699 
700  SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_DEAD,
701  SVN_ERR_FS_CATEGORY_START + 31,
702  "Transaction is dead")
703 
705  SVN_ERR_FS_CATEGORY_START + 32,
706  "Transaction is not dead")
707 
708  /** @since New in 1.1. */
709  SVN_ERRDEF(SVN_ERR_FS_UNKNOWN_FS_TYPE,
710  SVN_ERR_FS_CATEGORY_START + 33,
711  "Unknown FS type")
712 
713  /** @since New in 1.2. */
714  SVN_ERRDEF(SVN_ERR_FS_NO_USER,
715  SVN_ERR_FS_CATEGORY_START + 34,
716  "No user associated with filesystem")
717 
718  /** @since New in 1.2. */
720  SVN_ERR_FS_CATEGORY_START + 35,
721  "Path is already locked")
722 
723  /** @since New in 1.2. */
724  SVN_ERRDEF(SVN_ERR_FS_PATH_NOT_LOCKED,
725  SVN_ERR_FS_CATEGORY_START + 36,
726  "Path is not locked")
727 
728  /** @since New in 1.2. */
729  SVN_ERRDEF(SVN_ERR_FS_BAD_LOCK_TOKEN,
730  SVN_ERR_FS_CATEGORY_START + 37,
731  "Lock token is incorrect")
732 
733  /** @since New in 1.2. */
734  SVN_ERRDEF(SVN_ERR_FS_NO_LOCK_TOKEN,
735  SVN_ERR_FS_CATEGORY_START + 38,
736  "No lock token provided")
737 
738  /** @since New in 1.2. */
740  SVN_ERR_FS_CATEGORY_START + 39,
741  "Username does not match lock owner")
742 
743  /** @since New in 1.2. */
744  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_LOCK,
745  SVN_ERR_FS_CATEGORY_START + 40,
746  "Filesystem has no such lock")
747 
748  /** @since New in 1.2. */
749  SVN_ERRDEF(SVN_ERR_FS_LOCK_EXPIRED,
750  SVN_ERR_FS_CATEGORY_START + 41,
751  "Lock has expired")
752 
753  /** @since New in 1.2. */
754  SVN_ERRDEF(SVN_ERR_FS_OUT_OF_DATE,
755  SVN_ERR_FS_CATEGORY_START + 42,
756  "Item is out of date")
757 
758  /**@since New in 1.2.
759  *
760  * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION. To avoid
761  * confusion with "versions" (i.e., releases) of Subversion, we've
762  * started calling this the "format" number instead. The old
763  * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
764  * retains its name.
765  */
767  SVN_ERR_FS_CATEGORY_START + 43,
768  "Unsupported FS format")
769 
770  /** @since New in 1.5. */
771  SVN_ERRDEF(SVN_ERR_FS_REP_BEING_WRITTEN,
772  SVN_ERR_FS_CATEGORY_START + 44,
773  "Representation is being written")
774 
775  /** @since New in 1.5. */
776  SVN_ERRDEF(SVN_ERR_FS_TXN_NAME_TOO_LONG,
777  SVN_ERR_FS_CATEGORY_START + 45,
778  "The generated transaction name is too long")
779 
780  /** @since New in 1.5. */
782  SVN_ERR_FS_CATEGORY_START + 46,
783  "Filesystem has no such node origin record")
784 
785  /** @since New in 1.5. */
787  SVN_ERR_FS_CATEGORY_START + 47,
788  "Filesystem upgrade is not supported")
789 
790  /** @since New in 1.6. */
792  SVN_ERR_FS_CATEGORY_START + 48,
793  "Filesystem has no such checksum-representation index record")
794 
795  /** @since New in 1.7. */
797  SVN_ERR_FS_CATEGORY_START + 49,
798  "Property value in filesystem differs from the provided "
799  "base value")
800 
801  /** @since New in 1.8. */
803  SVN_ERR_FS_CATEGORY_START + 50,
804  "The filesystem editor completion process was not followed")
805 
806  /** @since New in 1.8. */
808  SVN_ERR_FS_CATEGORY_START + 51,
809  "A packed revprop could not be read")
810 
811  /** @since New in 1.8. */
813  SVN_ERR_FS_CATEGORY_START + 52,
814  "Could not initialize the revprop caching infrastructure.")
815 
816  /** @since New in 1.9. */
817  SVN_ERRDEF(SVN_ERR_FS_MALFORMED_TXN_ID,
818  SVN_ERR_FS_CATEGORY_START + 53,
819  "Malformed transaction ID string.")
820 
821  /** @since New in 1.9. */
822  SVN_ERRDEF(SVN_ERR_FS_INDEX_CORRUPTION,
823  SVN_ERR_FS_CATEGORY_START + 54,
824  "Corrupt index file.")
825 
826  /** @since New in 1.9. */
827  SVN_ERRDEF(SVN_ERR_FS_INDEX_REVISION,
828  SVN_ERR_FS_CATEGORY_START + 55,
829  "Revision not covered by index.")
830 
831  /** @since New in 1.9. */
832  SVN_ERRDEF(SVN_ERR_FS_INDEX_OVERFLOW,
833  SVN_ERR_FS_CATEGORY_START + 56,
834  "Item index too large for this revision.")
835 
836  /** @since New in 1.9. */
837  SVN_ERRDEF(SVN_ERR_FS_CONTAINER_INDEX,
838  SVN_ERR_FS_CATEGORY_START + 57,
839  "Container index out of range.")
840 
841  /** @since New in 1.9. */
843  SVN_ERR_FS_CATEGORY_START + 58,
844  "Index files are inconsistent.")
845 
846  /** @since New in 1.9. */
848  SVN_ERR_FS_CATEGORY_START + 59,
849  "Lock operation failed")
850 
851  /** @since New in 1.9. */
852  SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_TYPE,
853  SVN_ERR_FS_CATEGORY_START + 60,
854  "Unsupported FS type")
855 
856  /** @since New in 1.9. */
857  SVN_ERRDEF(SVN_ERR_FS_CONTAINER_SIZE,
858  SVN_ERR_FS_CATEGORY_START + 61,
859  "Container capacity exceeded.")
860 
861  /** @since New in 1.9. */
863  SVN_ERR_FS_CATEGORY_START + 62,
864  "Malformed node revision ID string.")
865 
866  /** @since New in 1.9. */
868  SVN_ERR_FS_CATEGORY_START + 63,
869  "Invalid generation number data.")
870 
871  /* repos errors */
872 
873  SVN_ERRDEF(SVN_ERR_REPOS_LOCKED,
874  SVN_ERR_REPOS_CATEGORY_START + 0,
875  "The repository is locked, perhaps for db recovery")
876 
877  SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE,
878  SVN_ERR_REPOS_CATEGORY_START + 1,
879  "A repository hook failed")
880 
881  SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS,
882  SVN_ERR_REPOS_CATEGORY_START + 2,
883  "Incorrect arguments supplied")
884 
886  SVN_ERR_REPOS_CATEGORY_START + 3,
887  "A report cannot be generated because no data was supplied")
888 
890  SVN_ERR_REPOS_CATEGORY_START + 4,
891  "Bogus revision report")
892 
893  /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT. To avoid
894  * confusion with "versions" (i.e., releases) of Subversion, we
895  * started using the word "format" instead of "version". However,
896  * this error code's name predates that decision.
897  */
899  SVN_ERR_REPOS_CATEGORY_START + 5,
900  "Unsupported repository version")
901 
903  SVN_ERR_REPOS_CATEGORY_START + 6,
904  "Disabled repository feature")
905 
907  SVN_ERR_REPOS_CATEGORY_START + 7,
908  "Error running post-commit hook")
909 
910  /** @since New in 1.2. */
912  SVN_ERR_REPOS_CATEGORY_START + 8,
913  "Error running post-lock hook")
914 
915  /** @since New in 1.2. */
917  SVN_ERR_REPOS_CATEGORY_START + 9,
918  "Error running post-unlock hook")
919 
920  /** @since New in 1.5. */
922  SVN_ERR_REPOS_CATEGORY_START + 10,
923  "Repository upgrade is not supported")
924 
925  /** @since New in 1.9. */
926  SVN_ERRDEF(SVN_ERR_REPOS_CORRUPTED,
927  SVN_ERR_REPOS_CATEGORY_START + 11,
928  "Repository is corrupt")
929 
930  /* generic RA errors */
931 
932  SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL,
933  SVN_ERR_RA_CATEGORY_START + 0,
934  "Bad URL passed to RA layer")
935 
936  SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED,
937  SVN_ERR_RA_CATEGORY_START + 1,
938  "Authorization failed")
939 
940  SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH,
941  SVN_ERR_RA_CATEGORY_START + 2,
942  "Unknown authorization method")
943 
944  SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED,
945  SVN_ERR_RA_CATEGORY_START + 3,
946  "Repository access method not implemented")
947 
948  SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE,
949  SVN_ERR_RA_CATEGORY_START + 4,
950  "Item is out of date")
951 
952  SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID,
953  SVN_ERR_RA_CATEGORY_START + 5,
954  "Repository has no UUID")
955 
957  SVN_ERR_RA_CATEGORY_START + 6,
958  "Unsupported RA plugin ABI version")
959 
960  /** @since New in 1.2. */
961  SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED,
962  SVN_ERR_RA_CATEGORY_START + 7,
963  "Path is not locked")
964 
965  /** @since New in 1.5. */
967  SVN_ERR_RA_CATEGORY_START + 8,
968  "Server can only replay from the root of a repository")
969 
970  /** @since New in 1.5. */
971  SVN_ERRDEF(SVN_ERR_RA_UUID_MISMATCH,
972  SVN_ERR_RA_CATEGORY_START + 9,
973  "Repository UUID does not match expected UUID")
974 
975  /** @since New in 1.6. */
977  SVN_ERR_RA_CATEGORY_START + 10,
978  "Repository root URL does not match expected root URL")
979 
980  /** @since New in 1.7. */
982  SVN_ERR_RA_CATEGORY_START + 11,
983  "Session URL does not match expected session URL")
984 
985  /** @since New in 1.8. */
987  SVN_ERR_RA_CATEGORY_START + 12,
988  "Can't create tunnel")
989 
990  /** @since New in 1.9. */
992  SVN_ERR_RA_CATEGORY_START + 13,
993  "Can't create session")
994 
995  /* ra_dav errors */
996 
997  SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT,
998  SVN_ERR_RA_DAV_CATEGORY_START + 0,
999  "RA layer failed to init socket layer")
1000 
1002  SVN_ERR_RA_DAV_CATEGORY_START + 1,
1003  "RA layer failed to create HTTP request")
1004 
1005  SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED,
1006  SVN_ERR_RA_DAV_CATEGORY_START + 2,
1007  "RA layer request failed")
1008 
1010  SVN_ERR_RA_DAV_CATEGORY_START + 3,
1011  "RA layer didn't receive requested OPTIONS info")
1012 
1013  SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
1014  SVN_ERR_RA_DAV_CATEGORY_START + 4,
1015  "RA layer failed to fetch properties")
1016 
1017  SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS,
1018  SVN_ERR_RA_DAV_CATEGORY_START + 5,
1019  "RA layer file already exists")
1020 
1021  /** @deprecated To improve consistency between ra layers, this error code
1022  is replaced by SVN_ERR_BAD_CONFIG_VALUE.
1023  Slated for removal in the next major release. */
1025  SVN_ERR_RA_DAV_CATEGORY_START + 6,
1026  "Invalid configuration value")
1027 
1028  /** @deprecated To improve consistency between ra layers, this error code
1029  is replaced in ra_serf by SVN_ERR_FS_NOT_FOUND.
1030  Slated for removal in the next major release. */
1031  SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND,
1032  SVN_ERR_RA_DAV_CATEGORY_START + 7,
1033  "HTTP Path Not Found")
1034 
1036  SVN_ERR_RA_DAV_CATEGORY_START + 8,
1037  "Failed to execute WebDAV PROPPATCH")
1038 
1039  /** @since New in 1.2. */
1040  SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA,
1041  SVN_ERR_RA_DAV_CATEGORY_START + 9,
1042  "Malformed network data")
1043 
1044  /** @since New in 1.3 */
1046  SVN_ERR_RA_DAV_CATEGORY_START + 10,
1047  "Unable to extract data from response header")
1048 
1049  /** @since New in 1.5 */
1050  SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
1051  SVN_ERR_RA_DAV_CATEGORY_START + 11,
1052  "Repository has been moved")
1053 
1054  /** @since New in 1.7 */
1055  SVN_ERRDEF(SVN_ERR_RA_DAV_CONN_TIMEOUT,
1056  SVN_ERR_RA_DAV_CATEGORY_START + 12,
1057  "Connection timed out")
1058 
1059  /** @since New in 1.6 */
1060  SVN_ERRDEF(SVN_ERR_RA_DAV_FORBIDDEN,
1061  SVN_ERR_RA_DAV_CATEGORY_START + 13,
1062  "URL access forbidden for unknown reason")
1063 
1064  /** @since New in 1.9 */
1066  SVN_ERR_RA_DAV_CATEGORY_START + 14,
1067  "The server state conflicts with the requested preconditions")
1068 
1069  /** @since New in 1.9 */
1071  SVN_ERR_RA_DAV_CATEGORY_START + 15,
1072  "The URL doesn't allow the requested method")
1073 
1074  /* ra_local errors */
1075 
1077  SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
1078  "Couldn't find a repository")
1079 
1081  SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
1082  "Couldn't open a repository")
1083 
1084  /* svndiff errors */
1085 
1086  SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER,
1087  SVN_ERR_SVNDIFF_CATEGORY_START + 0,
1088  "Svndiff data has invalid header")
1089 
1090  SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
1091  SVN_ERR_SVNDIFF_CATEGORY_START + 1,
1092  "Svndiff data contains corrupt window")
1093 
1094  SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW,
1095  SVN_ERR_SVNDIFF_CATEGORY_START + 2,
1096  "Svndiff data contains backward-sliding source view")
1097 
1098  SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
1099  SVN_ERR_SVNDIFF_CATEGORY_START + 3,
1100  "Svndiff data contains invalid instruction")
1101 
1102  SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END,
1103  SVN_ERR_SVNDIFF_CATEGORY_START + 4,
1104  "Svndiff data ends unexpectedly")
1105 
1107  SVN_ERR_SVNDIFF_CATEGORY_START + 5,
1108  "Svndiff compressed data is invalid")
1109 
1110  /* mod_dav_svn errors */
1111 
1113  SVN_ERR_APMOD_CATEGORY_START + 0,
1114  "Apache has no path to an SVN filesystem")
1115 
1116  SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
1117  SVN_ERR_APMOD_CATEGORY_START + 1,
1118  "Apache got a malformed URI")
1119 
1121  SVN_ERR_APMOD_CATEGORY_START + 2,
1122  "Activity not found")
1123 
1124  SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
1125  SVN_ERR_APMOD_CATEGORY_START + 3,
1126  "Baseline incorrect")
1127 
1129  SVN_ERR_APMOD_CATEGORY_START + 4,
1130  "Input/output error")
1131 
1132  /* libsvn_client errors */
1133 
1135  SVN_ERR_CLIENT_CATEGORY_START + 0,
1136  "A path under version control is needed for this operation")
1137 
1139  SVN_ERR_CLIENT_CATEGORY_START + 1,
1140  "Repository access is needed for this operation")
1141 
1142  SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
1143  SVN_ERR_CLIENT_CATEGORY_START + 2,
1144  "Bogus revision information given")
1145 
1147  SVN_ERR_CLIENT_CATEGORY_START + 3,
1148  "Attempting to commit to a URL more than once")
1149 
1150  SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
1151  SVN_ERR_CLIENT_CATEGORY_START + 4,
1152  "Operation does not apply to binary file")
1153 
1154  /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
1155  in order to get gettext translatable strings */
1157  SVN_ERR_CLIENT_CATEGORY_START + 5,
1158  "Format of an svn:externals property was invalid")
1159 
1160  SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
1161  SVN_ERR_CLIENT_CATEGORY_START + 6,
1162  "Attempting restricted operation for modified resource")
1163 
1164  SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
1165  SVN_ERR_CLIENT_CATEGORY_START + 7,
1166  "Operation does not apply to directory")
1167 
1168  SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
1169  SVN_ERR_CLIENT_CATEGORY_START + 8,
1170  "Revision range is not allowed")
1171 
1173  SVN_ERR_CLIENT_CATEGORY_START + 9,
1174  "Inter-repository relocation not allowed")
1175 
1177  SVN_ERR_CLIENT_CATEGORY_START + 10,
1178  "Author name cannot contain a newline")
1179 
1180  SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
1181  SVN_ERR_CLIENT_CATEGORY_START + 11,
1182  "Bad property name")
1183 
1184  /** @since New in 1.1. */
1186  SVN_ERR_CLIENT_CATEGORY_START + 12,
1187  "Two versioned resources are unrelated")
1188 
1189  /** @since New in 1.2. */
1191  SVN_ERR_CLIENT_CATEGORY_START + 13,
1192  "Path has no lock token")
1193 
1194  /** @since New in 1.5. */
1196  SVN_ERR_CLIENT_CATEGORY_START + 14,
1197  "Operation does not support multiple sources")
1198 
1199  /** @since New in 1.5. */
1201  SVN_ERR_CLIENT_CATEGORY_START + 15,
1202  "No versioned parent directories")
1203 
1204  /** @since New in 1.5. */
1206  SVN_ERR_CLIENT_CATEGORY_START + 16,
1207  "Working copy and merge source not ready for reintegration")
1208 
1209  /** @since New in 1.6. */
1211  SVN_ERR_CLIENT_CATEGORY_START + 17,
1212  "A file external cannot overwrite an existing versioned item")
1213 
1214  /** @since New in 1.7. */
1216  SVN_ERR_CLIENT_CATEGORY_START + 18,
1217  "Invalid path component strip count specified")
1218 
1219  /** @since New in 1.7. */
1220  SVN_ERRDEF(SVN_ERR_CLIENT_CYCLE_DETECTED,
1221  SVN_ERR_CLIENT_CATEGORY_START + 19,
1222  "Detected a cycle while processing the operation")
1223 
1224  /** @since New in 1.7. */
1226  SVN_ERR_CLIENT_CATEGORY_START + 20,
1227  "Working copy and merge source not ready for reintegration")
1228 
1229  /** @since New in 1.7. */
1231  SVN_ERR_CLIENT_CATEGORY_START + 21,
1232  "Invalid mergeinfo detected in merge target")
1233 
1234  /** @since New in 1.7. */
1235  SVN_ERRDEF(SVN_ERR_CLIENT_NO_LOCK_TOKEN,
1236  SVN_ERR_CLIENT_CATEGORY_START + 22,
1237  "Can't perform this operation without a valid lock token")
1238 
1239  /** @since New in 1.7. */
1241  SVN_ERR_CLIENT_CATEGORY_START + 23,
1242  "The operation is forbidden by the server")
1243 
1244  /* misc errors */
1245 
1246  SVN_ERRDEF(SVN_ERR_BASE,
1247  SVN_ERR_MISC_CATEGORY_START + 0,
1248  "A problem occurred; see other errors for details")
1249 
1250  SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
1251  SVN_ERR_MISC_CATEGORY_START + 1,
1252  "Failure loading plugin")
1253 
1254  SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
1255  SVN_ERR_MISC_CATEGORY_START + 2,
1256  "Malformed file")
1257 
1258  SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
1259  SVN_ERR_MISC_CATEGORY_START + 3,
1260  "Incomplete data")
1261 
1262  SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
1263  SVN_ERR_MISC_CATEGORY_START + 4,
1264  "Incorrect parameters given")
1265 
1266  SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
1267  SVN_ERR_MISC_CATEGORY_START + 5,
1268  "Tried a versioning operation on an unversioned resource")
1269 
1270  SVN_ERRDEF(SVN_ERR_TEST_FAILED,
1271  SVN_ERR_MISC_CATEGORY_START + 6,
1272  "Test failed")
1273 
1274  SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
1275  SVN_ERR_MISC_CATEGORY_START + 7,
1276  "Trying to use an unsupported feature")
1277 
1278  SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
1279  SVN_ERR_MISC_CATEGORY_START + 8,
1280  "Unexpected or unknown property kind")
1281 
1282  SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
1283  SVN_ERR_MISC_CATEGORY_START + 9,
1284  "Illegal target for the requested operation")
1285 
1287  SVN_ERR_MISC_CATEGORY_START + 10,
1288  "MD5 checksum is missing")
1289 
1290  SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
1291  SVN_ERR_MISC_CATEGORY_START + 11,
1292  "Directory needs to be empty but is not")
1293 
1294  SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
1295  SVN_ERR_MISC_CATEGORY_START + 12,
1296  "Error calling external program")
1297 
1298  SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
1299  SVN_ERR_MISC_CATEGORY_START + 13,
1300  "Python exception has been set with the error")
1301 
1302  SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
1303  SVN_ERR_MISC_CATEGORY_START + 14,
1304  "A checksum mismatch occurred")
1305 
1306  SVN_ERRDEF(SVN_ERR_CANCELLED,
1307  SVN_ERR_MISC_CATEGORY_START + 15,
1308  "The operation was interrupted")
1309 
1310  SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
1311  SVN_ERR_MISC_CATEGORY_START + 16,
1312  "The specified diff option is not supported")
1313 
1314  SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
1315  SVN_ERR_MISC_CATEGORY_START + 17,
1316  "Property not found")
1317 
1318  SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
1319  SVN_ERR_MISC_CATEGORY_START + 18,
1320  "No auth file path available")
1321 
1322  /** @since New in 1.1. */
1323  SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
1324  SVN_ERR_MISC_CATEGORY_START + 19,
1325  "Incompatible library version")
1326 
1327  /** @since New in 1.5. */
1328  SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
1329  SVN_ERR_MISC_CATEGORY_START + 20,
1330  "Mergeinfo parse error")
1331 
1332  /** @since New in 1.5. */
1333  SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
1334  SVN_ERR_MISC_CATEGORY_START + 21,
1335  "Cease invocation of this API")
1336 
1337  /** @since New in 1.5. */
1338  SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
1339  SVN_ERR_MISC_CATEGORY_START + 22,
1340  "Error parsing revision number")
1341 
1342  /** @since New in 1.5. */
1343  SVN_ERRDEF(SVN_ERR_ITER_BREAK,
1344  SVN_ERR_MISC_CATEGORY_START + 23,
1345  "Iteration terminated before completion")
1346 
1347  /** @since New in 1.5. */
1348  SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
1349  SVN_ERR_MISC_CATEGORY_START + 24,
1350  "Unknown changelist")
1351 
1352  /** @since New in 1.5. */
1354  SVN_ERR_MISC_CATEGORY_START + 25,
1355  "Reserved directory name in command line arguments")
1356 
1357  /** @since New in 1.5. */
1358  SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
1359  SVN_ERR_MISC_CATEGORY_START + 26,
1360  "Inquiry about unknown capability")
1361 
1362  /** @since New in 1.6. */
1363  SVN_ERRDEF(SVN_ERR_TEST_SKIPPED,
1364  SVN_ERR_MISC_CATEGORY_START + 27,
1365  "Test skipped")
1366 
1367  /** @since New in 1.6. */
1368  SVN_ERRDEF(SVN_ERR_NO_APR_MEMCACHE,
1369  SVN_ERR_MISC_CATEGORY_START + 28,
1370  "APR memcache library not available")
1371 
1372  /** @since New in 1.6. */
1373  SVN_ERRDEF(SVN_ERR_ATOMIC_INIT_FAILURE,
1374  SVN_ERR_MISC_CATEGORY_START + 29,
1375  "Couldn't perform atomic initialization")
1376 
1377  /** @since New in 1.6. */
1378  SVN_ERRDEF(SVN_ERR_SQLITE_ERROR,
1379  SVN_ERR_MISC_CATEGORY_START + 30,
1380  "SQLite error")
1381 
1382  /** @since New in 1.6. */
1383  SVN_ERRDEF(SVN_ERR_SQLITE_READONLY,
1384  SVN_ERR_MISC_CATEGORY_START + 31,
1385  "Attempted to write to readonly SQLite db")
1386 
1387  /** @since New in 1.6.
1388  * @deprecated the internal sqlite support code does not manage schemas
1389  * any longer. */
1391  SVN_ERR_MISC_CATEGORY_START + 32,
1392  "Unsupported schema found in SQLite db")
1393 
1394  /** @since New in 1.7. */
1395  SVN_ERRDEF(SVN_ERR_SQLITE_BUSY,
1396  SVN_ERR_MISC_CATEGORY_START + 33,
1397  "The SQLite db is busy")
1398 
1399  /** @since New in 1.7. */
1401  SVN_ERR_MISC_CATEGORY_START + 34,
1402  "SQLite busy at transaction rollback; "
1403  "resetting all busy SQLite statements to allow rollback")
1404 
1405  /** @since New in 1.7. */
1406  SVN_ERRDEF(SVN_ERR_SQLITE_CONSTRAINT,
1407  SVN_ERR_MISC_CATEGORY_START + 35,
1408  "Constraint error in SQLite db")
1409 
1410  /** @since New in 1.8. */
1412  SVN_ERR_MISC_CATEGORY_START + 36,
1413  "Too many memcached servers configured")
1414 
1415  /** @since New in 1.8. */
1417  SVN_ERR_MISC_CATEGORY_START + 37,
1418  "Failed to parse version number string")
1419 
1420  /** @since New in 1.8. */
1422  SVN_ERR_MISC_CATEGORY_START + 38,
1423  "Atomic data storage is corrupt")
1424 
1425  /** @since New in 1.8. */
1426  SVN_ERRDEF(SVN_ERR_UTF8PROC_ERROR,
1427  SVN_ERR_MISC_CATEGORY_START + 39,
1428  "utf8proc library error")
1429 
1430  /** @since New in 1.8. */
1431  SVN_ERRDEF(SVN_ERR_UTF8_GLOB,
1432  SVN_ERR_MISC_CATEGORY_START + 40,
1433  "Bad arguments to SQL operators GLOB or LIKE")
1434 
1435  /** @since New in 1.9. */
1436  SVN_ERRDEF(SVN_ERR_CORRUPT_PACKED_DATA,
1437  SVN_ERR_MISC_CATEGORY_START + 41,
1438  "Packed data stream is corrupt")
1439 
1440  /** @since New in 1.9. */
1441  SVN_ERRDEF(SVN_ERR_COMPOSED_ERROR,
1442  SVN_ERR_MISC_CATEGORY_START + 42,
1443  "Additional errors:")
1444 
1445  /** @since New in 1.9. */
1446  SVN_ERRDEF(SVN_ERR_INVALID_INPUT,
1447  SVN_ERR_MISC_CATEGORY_START + 43,
1448  "Parser error: invalid input")
1449 
1450  /* command-line client errors */
1451 
1452  SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
1453  SVN_ERR_CL_CATEGORY_START + 0,
1454  "Error parsing arguments")
1455 
1456  SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
1457  SVN_ERR_CL_CATEGORY_START + 1,
1458  "Not enough arguments provided")
1459 
1461  SVN_ERR_CL_CATEGORY_START + 2,
1462  "Mutually exclusive arguments specified")
1463 
1464  SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
1465  SVN_ERR_CL_CATEGORY_START + 3,
1466  "Attempted command in administrative dir")
1467 
1469  SVN_ERR_CL_CATEGORY_START + 4,
1470  "The log message file is under version control")
1471 
1473  SVN_ERR_CL_CATEGORY_START + 5,
1474  "The log message is a pathname")
1475 
1476  SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
1477  SVN_ERR_CL_CATEGORY_START + 6,
1478  "Committing in directory scheduled for addition")
1479 
1480  SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
1481  SVN_ERR_CL_CATEGORY_START + 7,
1482  "No external editor available")
1483 
1484  SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
1485  SVN_ERR_CL_CATEGORY_START + 8,
1486  "Something is wrong with the log message's contents")
1487 
1489  SVN_ERR_CL_CATEGORY_START + 9,
1490  "A log message was given where none was necessary")
1491 
1493  SVN_ERR_CL_CATEGORY_START + 10,
1494  "No external merge tool available")
1495 
1497  SVN_ERR_CL_CATEGORY_START + 11,
1498  "Failed processing one or more externals definitions")
1499 
1500  /* ra_svn errors */
1501 
1502  SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
1503  SVN_ERR_RA_SVN_CATEGORY_START + 0,
1504  "Special code for wrapping server errors to report to client")
1505 
1506  SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
1507  SVN_ERR_RA_SVN_CATEGORY_START + 1,
1508  "Unknown svn protocol command")
1509 
1511  SVN_ERR_RA_SVN_CATEGORY_START + 2,
1512  "Network connection closed unexpectedly")
1513 
1514  SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
1515  SVN_ERR_RA_SVN_CATEGORY_START + 3,
1516  "Network read/write error")
1517 
1518  SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA,
1519  SVN_ERR_RA_SVN_CATEGORY_START + 4,
1520  "Malformed network data")
1521 
1522  SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
1523  SVN_ERR_RA_SVN_CATEGORY_START + 5,
1524  "Couldn't find a repository")
1525 
1526  SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
1527  SVN_ERR_RA_SVN_CATEGORY_START + 6,
1528  "Client/server version mismatch")
1529 
1530  /** @since New in 1.5. */
1531  SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
1532  SVN_ERR_RA_SVN_CATEGORY_START + 7,
1533  "Cannot negotiate authentication mechanism")
1534 
1535  /** @since New in 1.7 */
1536  SVN_ERRDEF(SVN_ERR_RA_SVN_EDIT_ABORTED,
1537  SVN_ERR_RA_SVN_CATEGORY_START + 8,
1538  "Editor drive was aborted")
1539 
1540  /* libsvn_auth errors */
1541 
1542  /* this error can be used when an auth provider doesn't have
1543  the creds, but no other "real" error occurred. */
1545  SVN_ERR_AUTHN_CATEGORY_START + 0,
1546  "Credential data unavailable")
1547 
1548  SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
1549  SVN_ERR_AUTHN_CATEGORY_START + 1,
1550  "No authentication provider available")
1551 
1553  SVN_ERR_AUTHN_CATEGORY_START + 2,
1554  "All authentication providers exhausted")
1555 
1556  SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED,
1557  SVN_ERR_AUTHN_CATEGORY_START + 3,
1558  "Credentials not saved")
1559 
1560  /** @since New in 1.5. */
1561  SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
1562  SVN_ERR_AUTHN_CATEGORY_START + 4,
1563  "Authentication failed")
1564 
1565  /* authorization errors */
1566 
1567  SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE,
1568  SVN_ERR_AUTHZ_CATEGORY_START + 0,
1569  "Read access denied for root of edit")
1570 
1571  /** @since New in 1.1. */
1572  SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
1573  SVN_ERR_AUTHZ_CATEGORY_START + 1,
1574  "Item is not readable")
1575 
1576  /** @since New in 1.1. */
1578  SVN_ERR_AUTHZ_CATEGORY_START + 2,
1579  "Item is partially readable")
1580 
1581  SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
1582  SVN_ERR_AUTHZ_CATEGORY_START + 3,
1583  "Invalid authz configuration")
1584 
1585  /** @since New in 1.3 */
1586  SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
1587  SVN_ERR_AUTHZ_CATEGORY_START + 4,
1588  "Item is not writable")
1589 
1590 
1591  /* libsvn_diff errors */
1592 
1594  SVN_ERR_DIFF_CATEGORY_START + 0,
1595  "Diff data source modified unexpectedly")
1596 
1597  /* libsvn_ra_serf errors */
1598  /** @since New in 1.5.
1599  @deprecated SSPI now handled by serf rather than libsvn_ra_serf. */
1601  SVN_ERR_RA_SERF_CATEGORY_START + 0,
1602  "Initialization of SSPI library failed")
1603  /** @since New in 1.5.
1604  @deprecated Certificate verification now handled by serf rather
1605  than libsvn_ra_serf. */
1607  SVN_ERR_RA_SERF_CATEGORY_START + 1,
1608  "Server SSL certificate untrusted")
1609  /** @since New in 1.7.
1610  @deprecated GSSAPI now handled by serf rather than libsvn_ra_serf. */
1612  SVN_ERR_RA_SERF_CATEGORY_START + 2,
1613  "Initialization of the GSSAPI context failed")
1614 
1615  /** @since New in 1.7. */
1616  SVN_ERRDEF(SVN_ERR_RA_SERF_WRAPPED_ERROR,
1617  SVN_ERR_RA_SERF_CATEGORY_START + 3,
1618  "While handling serf response:")
1619 
1620  /* malfunctions such as assertion failures */
1621 
1622  SVN_ERRDEF(SVN_ERR_ASSERTION_FAIL,
1623  SVN_ERR_MALFUNC_CATEGORY_START + 0,
1624  "Assertion failure")
1625 
1627  SVN_ERR_MALFUNC_CATEGORY_START + 1,
1628  "No non-tracing links found in the error chain")
1629 
1630  /* X509 parser errors.
1631  * Names of these error codes are based on tropicssl error codes.
1632  * @since New in 1.9 */
1633 
1634  SVN_ERRDEF(SVN_ERR_ASN1_OUT_OF_DATA,
1635  SVN_ERR_X509_CATEGORY_START + 0,
1636  "Unexpected end of ASN1 data")
1637 
1638  SVN_ERRDEF(SVN_ERR_ASN1_UNEXPECTED_TAG,
1639  SVN_ERR_X509_CATEGORY_START + 1,
1640  "Unexpected ASN1 tag")
1641 
1642  SVN_ERRDEF(SVN_ERR_ASN1_INVALID_LENGTH,
1643  SVN_ERR_X509_CATEGORY_START + 2,
1644  "Invalid ASN1 length")
1645 
1646  SVN_ERRDEF(SVN_ERR_ASN1_LENGTH_MISMATCH,
1647  SVN_ERR_X509_CATEGORY_START + 3,
1648  "ASN1 length mismatch")
1649 
1650  SVN_ERRDEF(SVN_ERR_ASN1_INVALID_DATA,
1651  SVN_ERR_X509_CATEGORY_START + 4,
1652  "Invalid ASN1 data")
1653 
1655  SVN_ERR_X509_CATEGORY_START + 5,
1656  "Unavailable X509 feature")
1657 
1658  SVN_ERRDEF(SVN_ERR_X509_CERT_INVALID_PEM,
1659  SVN_ERR_X509_CATEGORY_START + 6,
1660  "Invalid PEM certificate")
1661 
1663  SVN_ERR_X509_CATEGORY_START + 7,
1664  "Invalid certificate format")
1665 
1667  SVN_ERR_X509_CATEGORY_START + 8,
1668  "Invalid certificate version")
1669 
1671  SVN_ERR_X509_CATEGORY_START + 9,
1672  "Invalid certificate serial number")
1673 
1674  SVN_ERRDEF(SVN_ERR_X509_CERT_INVALID_ALG,
1675  SVN_ERR_X509_CATEGORY_START + 10,
1676  "Found invalid algorithm in certificate")
1677 
1678  SVN_ERRDEF(SVN_ERR_X509_CERT_INVALID_NAME,
1679  SVN_ERR_X509_CATEGORY_START + 11,
1680  "Found invalid name in certificate")
1681 
1682  SVN_ERRDEF(SVN_ERR_X509_CERT_INVALID_DATE,
1683  SVN_ERR_X509_CATEGORY_START + 12,
1684  "Found invalid date in certificate")
1685 
1687  SVN_ERR_X509_CATEGORY_START + 13,
1688  "Found invalid public key in certificate")
1689 
1691  SVN_ERR_X509_CATEGORY_START + 14,
1692  "Found invalid signature in certificate")
1693 
1695  SVN_ERR_X509_CATEGORY_START + 15,
1696  "Found invalid extensions in certificate")
1697 
1699  SVN_ERR_X509_CATEGORY_START + 16,
1700  "Unknown certificate version")
1701 
1703  SVN_ERR_X509_CATEGORY_START + 17,
1704  "Certificate uses unknown public key algorithm")
1705 
1706  SVN_ERRDEF(SVN_ERR_X509_CERT_SIG_MISMATCH,
1707  SVN_ERR_X509_CATEGORY_START + 18,
1708  "Certificate signature mismatch")
1709 
1711  SVN_ERR_X509_CATEGORY_START + 19,
1712  "Certficate verification failed")
1713 
1714 SVN_ERROR_END
1715 
1716 
1717 #undef SVN_ERROR_START
1718 #undef SVN_ERRDEF
1719 #undef SVN_ERROR_END
1720 
1721 #ifdef __cplusplus
1722 }
1723 #endif /* __cplusplus */
1724 
1725 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */