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  * Copyright (c) 2000-2009 CollabNet. All rights reserved.
5  *
6  * This software is licensed as described in the file COPYING, which
7  * you should have received as part of this distribution. The terms
8  * are also available at http://subversion.tigris.org/license-1.html.
9  * If newer versions of this license are posted there, you may use a
10  * newer version instead, at your option.
11  *
12  * This software consists of voluntary contributions made by many
13  * individuals. For exact contribution history, see the revision
14  * history and logs, available at http://subversion.tigris.org/.
15  * ====================================================================
16  * @endcopyright
17  *
18  * @file svn_error_codes.h
19  * @brief Subversion error codes.
20  */
21 
22 /* What's going on here?
23 
24  In order to define error codes and their associated description
25  strings in the same place, we overload the SVN_ERRDEF() macro with
26  two definitions below. Both take two arguments, an error code name
27  and a description string. One definition of the macro just throws
28  away the string and defines enumeration constants using the error
29  code names -- that definition is used by the header file that
30  exports error codes to the rest of Subversion. The other
31  definition creates a static table mapping the enum codes to their
32  corresponding strings -- that definition is used by the C file that
33  implements svn_strerror().
34 
35  The header and C files both include this file, using #defines to
36  control which version of the macro they get.
37 */
38 
39 
40 /* Process this file if we're building an error array, or if we have
41  not defined the enumerated constants yet. */
42 #if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED)
43 
44 
45 #include <apr_errno.h> /* APR's error system */
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif /* __cplusplus */
50 
51 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 
53 #if defined(SVN_ERROR_BUILD_ARRAY)
54 
55 #define SVN_ERROR_START \
56  static const err_defn error_table[] = { \
57  { SVN_WARNING, "Warning" },
58 #define SVN_ERRDEF(num, offset, str) { num, str },
59 #define SVN_ERROR_END { 0, NULL } };
60 
61 #elif !defined(SVN_ERROR_ENUM_DEFINED)
62 
63 #define SVN_ERROR_START \
64  typedef enum svn_errno_t { \
65  SVN_WARNING = APR_OS_START_USERERR + 1,
66 #define SVN_ERRDEF(num, offset, str) /** str */ num = offset,
67 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
68 
69 #define SVN_ERROR_ENUM_DEFINED
70 
71 #endif
72 
73 /* Define custom Subversion error numbers, in the range reserved for
74  that in APR: from APR_OS_START_USERERR to APR_OS_START_SYSERR (see
75  apr_errno.h).
76 
77  Error numbers are divided into categories of up to 5000 errors
78  each. Since we're dividing up the APR user error space, which has
79  room for 500,000 errors, we can have up to 100 categories.
80  Categories are fixed-size; if a category has fewer than 5000
81  errors, then it just ends with a range of unused numbers.
82 
83  To maintain binary compatibility, please observe these guidelines:
84 
85  - When adding a new error, always add on the end of the
86  appropriate category, so that the real values of existing
87  errors are not changed.
88 
89  - When deleting an error, leave a placeholder comment indicating
90  the offset, again so that the values of other errors are not
91  perturbed.
92 */
93 
94 #define SVN_ERR_CATEGORY_SIZE 5000
95 
96 /* Leave one category of room at the beginning, for SVN_WARNING and
97  any other such beasts we might create in the future. */
98 #define SVN_ERR_BAD_CATEGORY_START (APR_OS_START_USERERR \
99  + ( 1 * SVN_ERR_CATEGORY_SIZE))
100 #define SVN_ERR_XML_CATEGORY_START (APR_OS_START_USERERR \
101  + ( 2 * SVN_ERR_CATEGORY_SIZE))
102 #define SVN_ERR_IO_CATEGORY_START (APR_OS_START_USERERR \
103  + ( 3 * SVN_ERR_CATEGORY_SIZE))
104 #define SVN_ERR_STREAM_CATEGORY_START (APR_OS_START_USERERR \
105  + ( 4 * SVN_ERR_CATEGORY_SIZE))
106 #define SVN_ERR_NODE_CATEGORY_START (APR_OS_START_USERERR \
107  + ( 5 * SVN_ERR_CATEGORY_SIZE))
108 #define SVN_ERR_ENTRY_CATEGORY_START (APR_OS_START_USERERR \
109  + ( 6 * SVN_ERR_CATEGORY_SIZE))
110 #define SVN_ERR_WC_CATEGORY_START (APR_OS_START_USERERR \
111  + ( 7 * SVN_ERR_CATEGORY_SIZE))
112 #define SVN_ERR_FS_CATEGORY_START (APR_OS_START_USERERR \
113  + ( 8 * SVN_ERR_CATEGORY_SIZE))
114 #define SVN_ERR_REPOS_CATEGORY_START (APR_OS_START_USERERR \
115  + ( 9 * SVN_ERR_CATEGORY_SIZE))
116 #define SVN_ERR_RA_CATEGORY_START (APR_OS_START_USERERR \
117  + (10 * SVN_ERR_CATEGORY_SIZE))
118 #define SVN_ERR_RA_DAV_CATEGORY_START (APR_OS_START_USERERR \
119  + (11 * SVN_ERR_CATEGORY_SIZE))
120 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
121  + (12 * SVN_ERR_CATEGORY_SIZE))
122 #define SVN_ERR_SVNDIFF_CATEGORY_START (APR_OS_START_USERERR \
123  + (13 * SVN_ERR_CATEGORY_SIZE))
124 #define SVN_ERR_APMOD_CATEGORY_START (APR_OS_START_USERERR \
125  + (14 * SVN_ERR_CATEGORY_SIZE))
126 #define SVN_ERR_CLIENT_CATEGORY_START (APR_OS_START_USERERR \
127  + (15 * SVN_ERR_CATEGORY_SIZE))
128 #define SVN_ERR_MISC_CATEGORY_START (APR_OS_START_USERERR \
129  + (16 * SVN_ERR_CATEGORY_SIZE))
130 #define SVN_ERR_CL_CATEGORY_START (APR_OS_START_USERERR \
131  + (17 * SVN_ERR_CATEGORY_SIZE))
132 #define SVN_ERR_RA_SVN_CATEGORY_START (APR_OS_START_USERERR \
133  + (18 * SVN_ERR_CATEGORY_SIZE))
134 #define SVN_ERR_AUTHN_CATEGORY_START (APR_OS_START_USERERR \
135  + (19 * SVN_ERR_CATEGORY_SIZE))
136 #define SVN_ERR_AUTHZ_CATEGORY_START (APR_OS_START_USERERR \
137  + (20 * SVN_ERR_CATEGORY_SIZE))
138 #define SVN_ERR_DIFF_CATEGORY_START (APR_OS_START_USERERR \
139  + (21 * SVN_ERR_CATEGORY_SIZE))
140 #define SVN_ERR_RA_SERF_CATEGORY_START (APR_OS_START_USERERR \
141  + (22 * SVN_ERR_CATEGORY_SIZE))
142 #define SVN_ERR_MALFUNC_CATEGORY_START (APR_OS_START_USERERR \
143  + (23 * SVN_ERR_CATEGORY_SIZE))
144 
145 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
146 
147 /** Collection of Subversion error code values, located within the
148  * APR user error space. */
149 SVN_ERROR_START
150 
151  /* validation ("BAD_FOO") errors */
152 
153  SVN_ERRDEF(SVN_ERR_BAD_CONTAINING_POOL,
154  SVN_ERR_BAD_CATEGORY_START + 0,
155  "Bad parent pool passed to svn_make_pool()")
156 
157  SVN_ERRDEF(SVN_ERR_BAD_FILENAME,
158  SVN_ERR_BAD_CATEGORY_START + 1,
159  "Bogus filename")
160 
161  SVN_ERRDEF(SVN_ERR_BAD_URL,
162  SVN_ERR_BAD_CATEGORY_START + 2,
163  "Bogus URL")
164 
165  SVN_ERRDEF(SVN_ERR_BAD_DATE,
166  SVN_ERR_BAD_CATEGORY_START + 3,
167  "Bogus date")
168 
169  SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE,
170  SVN_ERR_BAD_CATEGORY_START + 4,
171  "Bogus mime-type")
172 
173  /** @since New in 1.5.
174  *
175  * Note that there was an unused slot sitting here at
176  * SVN_ERR_BAD_CATEGORY_START + 5, so error codes after this aren't
177  * necessarily "New in 1.5" just because they come later.
178  */
179  SVN_ERRDEF(SVN_ERR_BAD_PROPERTY_VALUE,
180  SVN_ERR_BAD_CATEGORY_START + 5,
181  "Wrong or unexpected property value")
182 
184  SVN_ERR_BAD_CATEGORY_START + 6,
185  "Version file format not correct")
186 
187  SVN_ERRDEF(SVN_ERR_BAD_RELATIVE_PATH,
188  SVN_ERR_BAD_CATEGORY_START + 7,
189  "Path is not an immediate child of the specified directory")
190 
191  SVN_ERRDEF(SVN_ERR_BAD_UUID,
192  SVN_ERR_BAD_CATEGORY_START + 8,
193  "Bogus UUID")
194 
195  /** @since New in 1.6. */
196  SVN_ERRDEF(SVN_ERR_BAD_CONFIG_VALUE,
197  SVN_ERR_BAD_CATEGORY_START + 9,
198  "Invalid configuration value")
199 
201  SVN_ERR_BAD_CATEGORY_START + 10,
202  "Bogus server specification")
203 
204  SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_KIND,
205  SVN_ERR_BAD_CATEGORY_START + 11,
206  "Unsupported checksum type")
207 
208  SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_PARSE,
209  SVN_ERR_BAD_CATEGORY_START + 12,
210  "Invalid character in hex checksum")
211 
212  /* xml errors */
213 
214  SVN_ERRDEF(SVN_ERR_XML_ATTRIB_NOT_FOUND,
215  SVN_ERR_XML_CATEGORY_START + 0,
216  "No such XML tag attribute")
217 
218  SVN_ERRDEF(SVN_ERR_XML_MISSING_ANCESTRY,
219  SVN_ERR_XML_CATEGORY_START + 1,
220  "<delta-pkg> is missing ancestry")
221 
222  SVN_ERRDEF(SVN_ERR_XML_UNKNOWN_ENCODING,
223  SVN_ERR_XML_CATEGORY_START + 2,
224  "Unrecognized binary data encoding; can't decode")
225 
226  SVN_ERRDEF(SVN_ERR_XML_MALFORMED,
227  SVN_ERR_XML_CATEGORY_START + 3,
228  "XML data was not well-formed")
229 
230  SVN_ERRDEF(SVN_ERR_XML_UNESCAPABLE_DATA,
231  SVN_ERR_XML_CATEGORY_START + 4,
232  "Data cannot be safely XML-escaped")
233 
234  /* io errors */
235 
236  SVN_ERRDEF(SVN_ERR_IO_INCONSISTENT_EOL,
237  SVN_ERR_IO_CATEGORY_START + 0,
238  "Inconsistent line ending style")
239 
240  SVN_ERRDEF(SVN_ERR_IO_UNKNOWN_EOL,
241  SVN_ERR_IO_CATEGORY_START + 1,
242  "Unrecognized line ending style")
243 
244  /** @deprecated Unused, slated for removal in the next major release. */
245  SVN_ERRDEF(SVN_ERR_IO_CORRUPT_EOL,
246  SVN_ERR_IO_CATEGORY_START + 2,
247  "Line endings other than expected")
248 
250  SVN_ERR_IO_CATEGORY_START + 3,
251  "Ran out of unique names")
252 
253  /** @deprecated Unused, slated for removal in the next major release. */
254  SVN_ERRDEF(SVN_ERR_IO_PIPE_FRAME_ERROR,
255  SVN_ERR_IO_CATEGORY_START + 4,
256  "Framing error in pipe protocol")
257 
258  /** @deprecated Unused, slated for removal in the next major release. */
259  SVN_ERRDEF(SVN_ERR_IO_PIPE_READ_ERROR,
260  SVN_ERR_IO_CATEGORY_START + 5,
261  "Read error in pipe")
262 
263  SVN_ERRDEF(SVN_ERR_IO_WRITE_ERROR,
264  SVN_ERR_IO_CATEGORY_START + 6,
265  "Write error")
266 
267  /* stream errors */
268 
270  SVN_ERR_STREAM_CATEGORY_START + 0,
271  "Unexpected EOF on stream")
272 
274  SVN_ERR_STREAM_CATEGORY_START + 1,
275  "Malformed stream data")
276 
278  SVN_ERR_STREAM_CATEGORY_START + 2,
279  "Unrecognized stream data")
280 
281  /* node errors */
282 
283  SVN_ERRDEF(SVN_ERR_NODE_UNKNOWN_KIND,
284  SVN_ERR_NODE_CATEGORY_START + 0,
285  "Unknown svn_node_kind")
286 
287  SVN_ERRDEF(SVN_ERR_NODE_UNEXPECTED_KIND,
288  SVN_ERR_NODE_CATEGORY_START + 1,
289  "Unexpected node kind found")
290 
291  /* entry errors */
292 
293  SVN_ERRDEF(SVN_ERR_ENTRY_NOT_FOUND,
294  SVN_ERR_ENTRY_CATEGORY_START + 0,
295  "Can't find an entry")
296 
297  /* UNUSED error slot: + 1 */
298 
299  SVN_ERRDEF(SVN_ERR_ENTRY_EXISTS,
300  SVN_ERR_ENTRY_CATEGORY_START + 2,
301  "Entry already exists")
302 
304  SVN_ERR_ENTRY_CATEGORY_START + 3,
305  "Entry has no revision")
306 
307  SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_URL,
308  SVN_ERR_ENTRY_CATEGORY_START + 4,
309  "Entry has no URL")
310 
312  SVN_ERR_ENTRY_CATEGORY_START + 5,
313  "Entry has an invalid attribute")
314 
315  SVN_ERRDEF(SVN_ERR_ENTRY_FORBIDDEN,
316  SVN_ERR_ENTRY_CATEGORY_START + 6,
317  "Can't create an entry for a forbidden name")
318 
319  /* wc errors */
320 
321  SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE,
322  SVN_ERR_WC_CATEGORY_START + 0,
323  "Obstructed update")
324 
325  /** @deprecated Unused, slated for removal in the next major release. */
326  SVN_ERRDEF(SVN_ERR_WC_UNWIND_MISMATCH,
327  SVN_ERR_WC_CATEGORY_START + 1,
328  "Mismatch popping the WC unwind stack")
329 
330  /** @deprecated Unused, slated for removal in the next major release. */
331  SVN_ERRDEF(SVN_ERR_WC_UNWIND_EMPTY,
332  SVN_ERR_WC_CATEGORY_START + 2,
333  "Attempt to pop empty WC unwind stack")
334 
335  /** @deprecated Unused, slated for removal in the next major release. */
336  SVN_ERRDEF(SVN_ERR_WC_UNWIND_NOT_EMPTY,
337  SVN_ERR_WC_CATEGORY_START + 3,
338  "Attempt to unlock with non-empty unwind stack")
339 
340  SVN_ERRDEF(SVN_ERR_WC_LOCKED,
341  SVN_ERR_WC_CATEGORY_START + 4,
342  "Attempted to lock an already-locked dir")
343 
344  SVN_ERRDEF(SVN_ERR_WC_NOT_LOCKED,
345  SVN_ERR_WC_CATEGORY_START + 5,
346  "Working copy not locked; this is probably a bug, please report")
347 
348  /** @deprecated Unused, slated for removal in the next major release. */
349  SVN_ERRDEF(SVN_ERR_WC_INVALID_LOCK,
350  SVN_ERR_WC_CATEGORY_START + 6,
351  "Invalid lock")
352 
353  SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY,
354  SVN_ERR_WC_CATEGORY_START + 7,
355  "Path is not a working copy directory")
356 
357  SVN_ERRDEF(SVN_ERR_WC_NOT_FILE,
358  SVN_ERR_WC_CATEGORY_START + 8,
359  "Path is not a working copy file")
360 
361  SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG,
362  SVN_ERR_WC_CATEGORY_START + 9,
363  "Problem running log")
364 
365  SVN_ERRDEF(SVN_ERR_WC_PATH_NOT_FOUND,
366  SVN_ERR_WC_CATEGORY_START + 10,
367  "Can't find a working copy path")
368 
369  SVN_ERRDEF(SVN_ERR_WC_NOT_UP_TO_DATE,
370  SVN_ERR_WC_CATEGORY_START + 11,
371  "Working copy is not up-to-date")
372 
373  SVN_ERRDEF(SVN_ERR_WC_LEFT_LOCAL_MOD,
374  SVN_ERR_WC_CATEGORY_START + 12,
375  "Left locally modified or unversioned files")
376 
377  SVN_ERRDEF(SVN_ERR_WC_SCHEDULE_CONFLICT,
378  SVN_ERR_WC_CATEGORY_START + 13,
379  "Unmergeable scheduling requested on an entry")
380 
381  SVN_ERRDEF(SVN_ERR_WC_PATH_FOUND,
382  SVN_ERR_WC_CATEGORY_START + 14,
383  "Found a working copy path")
384 
385  SVN_ERRDEF(SVN_ERR_WC_FOUND_CONFLICT,
386  SVN_ERR_WC_CATEGORY_START + 15,
387  "A conflict in the working copy obstructs the current operation")
388 
389  SVN_ERRDEF(SVN_ERR_WC_CORRUPT,
390  SVN_ERR_WC_CATEGORY_START + 16,
391  "Working copy is corrupt")
392 
393  SVN_ERRDEF(SVN_ERR_WC_CORRUPT_TEXT_BASE,
394  SVN_ERR_WC_CATEGORY_START + 17,
395  "Working copy text base is corrupt")
396 
397  SVN_ERRDEF(SVN_ERR_WC_NODE_KIND_CHANGE,
398  SVN_ERR_WC_CATEGORY_START + 18,
399  "Cannot change node kind")
400 
401  SVN_ERRDEF(SVN_ERR_WC_INVALID_OP_ON_CWD,
402  SVN_ERR_WC_CATEGORY_START + 19,
403  "Invalid operation on the current working directory")
404 
405  SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG_START,
406  SVN_ERR_WC_CATEGORY_START + 20,
407  "Problem on first log entry in a working copy")
408 
410  SVN_ERR_WC_CATEGORY_START + 21,
411  "Unsupported working copy format")
412 
413  SVN_ERRDEF(SVN_ERR_WC_BAD_PATH,
414  SVN_ERR_WC_CATEGORY_START + 22,
415  "Path syntax not supported in this context")
416 
417  /** @since New in 1.2. */
418  SVN_ERRDEF(SVN_ERR_WC_INVALID_SCHEDULE,
419  SVN_ERR_WC_CATEGORY_START + 23,
420  "Invalid schedule")
421 
422  /** @since New in 1.3. */
424  SVN_ERR_WC_CATEGORY_START + 24,
425  "Invalid relocation")
426 
427  /** @since New in 1.3. */
428  SVN_ERRDEF(SVN_ERR_WC_INVALID_SWITCH,
429  SVN_ERR_WC_CATEGORY_START + 25,
430  "Invalid switch")
431 
432  /** @since New in 1.5. */
434  SVN_ERR_WC_CATEGORY_START + 26,
435  "Changelist doesn't match")
436 
437  /** @since New in 1.5. */
439  SVN_ERR_WC_CATEGORY_START + 27,
440  "Conflict resolution failed")
441 
443  SVN_ERR_WC_CATEGORY_START + 28,
444  "Failed to locate 'copyfrom' path in working copy")
445 
446  /** @since New in 1.5. */
447  SVN_ERRDEF(SVN_ERR_WC_CHANGELIST_MOVE,
448  SVN_ERR_WC_CATEGORY_START + 29,
449  "Moving a path from one changelist to another")
450 
451  /** @since New in 1.6. */
453  SVN_ERR_WC_CATEGORY_START + 30,
454  "Cannot delete a file external")
455 
456  /** @since New in 1.6. */
458  SVN_ERR_WC_CATEGORY_START + 31,
459  "Cannot move a file external")
460 
461  /* fs errors */
462 
463  SVN_ERRDEF(SVN_ERR_FS_GENERAL,
464  SVN_ERR_FS_CATEGORY_START + 0,
465  "General filesystem error")
466 
467  SVN_ERRDEF(SVN_ERR_FS_CLEANUP,
468  SVN_ERR_FS_CATEGORY_START + 1,
469  "Error closing filesystem")
470 
471  SVN_ERRDEF(SVN_ERR_FS_ALREADY_OPEN,
472  SVN_ERR_FS_CATEGORY_START + 2,
473  "Filesystem is already open")
474 
475  SVN_ERRDEF(SVN_ERR_FS_NOT_OPEN,
476  SVN_ERR_FS_CATEGORY_START + 3,
477  "Filesystem is not open")
478 
479  SVN_ERRDEF(SVN_ERR_FS_CORRUPT,
480  SVN_ERR_FS_CATEGORY_START + 4,
481  "Filesystem is corrupt")
482 
483  SVN_ERRDEF(SVN_ERR_FS_PATH_SYNTAX,
484  SVN_ERR_FS_CATEGORY_START + 5,
485  "Invalid filesystem path syntax")
486 
487  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REVISION,
488  SVN_ERR_FS_CATEGORY_START + 6,
489  "Invalid filesystem revision number")
490 
492  SVN_ERR_FS_CATEGORY_START + 7,
493  "Invalid filesystem transaction name")
494 
495  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_ENTRY,
496  SVN_ERR_FS_CATEGORY_START + 8,
497  "Filesystem directory has no such entry")
498 
500  SVN_ERR_FS_CATEGORY_START + 9,
501  "Filesystem has no such representation")
502 
503  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_STRING,
504  SVN_ERR_FS_CATEGORY_START + 10,
505  "Filesystem has no such string")
506 
507  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_COPY,
508  SVN_ERR_FS_CATEGORY_START + 11,
509  "Filesystem has no such copy")
510 
512  SVN_ERR_FS_CATEGORY_START + 12,
513  "The specified transaction is not mutable")
514 
515  SVN_ERRDEF(SVN_ERR_FS_NOT_FOUND,
516  SVN_ERR_FS_CATEGORY_START + 13,
517  "Filesystem has no item")
518 
519  SVN_ERRDEF(SVN_ERR_FS_ID_NOT_FOUND,
520  SVN_ERR_FS_CATEGORY_START + 14,
521  "Filesystem has no such node-rev-id")
522 
523  SVN_ERRDEF(SVN_ERR_FS_NOT_ID,
524  SVN_ERR_FS_CATEGORY_START + 15,
525  "String does not represent a node or node-rev-id")
526 
527  SVN_ERRDEF(SVN_ERR_FS_NOT_DIRECTORY,
528  SVN_ERR_FS_CATEGORY_START + 16,
529  "Name does not refer to a filesystem directory")
530 
531  SVN_ERRDEF(SVN_ERR_FS_NOT_FILE,
532  SVN_ERR_FS_CATEGORY_START + 17,
533  "Name does not refer to a filesystem file")
534 
536  SVN_ERR_FS_CATEGORY_START + 18,
537  "Name is not a single path component")
538 
539  SVN_ERRDEF(SVN_ERR_FS_NOT_MUTABLE,
540  SVN_ERR_FS_CATEGORY_START + 19,
541  "Attempt to change immutable filesystem node")
542 
543  SVN_ERRDEF(SVN_ERR_FS_ALREADY_EXISTS,
544  SVN_ERR_FS_CATEGORY_START + 20,
545  "Item already exists in filesystem")
546 
547  SVN_ERRDEF(SVN_ERR_FS_ROOT_DIR,
548  SVN_ERR_FS_CATEGORY_START + 21,
549  "Attempt to remove or recreate fs root dir")
550 
551  SVN_ERRDEF(SVN_ERR_FS_NOT_TXN_ROOT,
552  SVN_ERR_FS_CATEGORY_START + 22,
553  "Object is not a transaction root")
554 
555  SVN_ERRDEF(SVN_ERR_FS_NOT_REVISION_ROOT,
556  SVN_ERR_FS_CATEGORY_START + 23,
557  "Object is not a revision root")
558 
559  SVN_ERRDEF(SVN_ERR_FS_CONFLICT,
560  SVN_ERR_FS_CATEGORY_START + 24,
561  "Merge conflict during commit")
562 
563  SVN_ERRDEF(SVN_ERR_FS_REP_CHANGED,
564  SVN_ERR_FS_CATEGORY_START + 25,
565  "A representation vanished or changed between reads")
566 
567  SVN_ERRDEF(SVN_ERR_FS_REP_NOT_MUTABLE,
568  SVN_ERR_FS_CATEGORY_START + 26,
569  "Tried to change an immutable representation")
570 
571  SVN_ERRDEF(SVN_ERR_FS_MALFORMED_SKEL,
572  SVN_ERR_FS_CATEGORY_START + 27,
573  "Malformed skeleton data")
574 
575  SVN_ERRDEF(SVN_ERR_FS_TXN_OUT_OF_DATE,
576  SVN_ERR_FS_CATEGORY_START + 28,
577  "Transaction is out of date")
578 
579  SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB,
580  SVN_ERR_FS_CATEGORY_START + 29,
581  "Berkeley DB error")
582 
584  SVN_ERR_FS_CATEGORY_START + 30,
585  "Berkeley DB deadlock error")
586 
587  SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_DEAD,
588  SVN_ERR_FS_CATEGORY_START + 31,
589  "Transaction is dead")
590 
592  SVN_ERR_FS_CATEGORY_START + 32,
593  "Transaction is not dead")
594 
595  /** @since New in 1.1. */
596  SVN_ERRDEF(SVN_ERR_FS_UNKNOWN_FS_TYPE,
597  SVN_ERR_FS_CATEGORY_START + 33,
598  "Unknown FS type")
599 
600  /** @since New in 1.2. */
601  SVN_ERRDEF(SVN_ERR_FS_NO_USER,
602  SVN_ERR_FS_CATEGORY_START + 34,
603  "No user associated with filesystem")
604 
605  /** @since New in 1.2. */
607  SVN_ERR_FS_CATEGORY_START + 35,
608  "Path is already locked")
609 
610  /** @since New in 1.2. */
611  SVN_ERRDEF(SVN_ERR_FS_PATH_NOT_LOCKED,
612  SVN_ERR_FS_CATEGORY_START + 36,
613  "Path is not locked")
614 
615  /** @since New in 1.2. */
616  SVN_ERRDEF(SVN_ERR_FS_BAD_LOCK_TOKEN,
617  SVN_ERR_FS_CATEGORY_START + 37,
618  "Lock token is incorrect")
619 
620  /** @since New in 1.2. */
621  SVN_ERRDEF(SVN_ERR_FS_NO_LOCK_TOKEN,
622  SVN_ERR_FS_CATEGORY_START + 38,
623  "No lock token provided")
624 
625  /** @since New in 1.2. */
627  SVN_ERR_FS_CATEGORY_START + 39,
628  "Username does not match lock owner")
629 
630  /** @since New in 1.2. */
631  SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_LOCK,
632  SVN_ERR_FS_CATEGORY_START + 40,
633  "Filesystem has no such lock")
634 
635  /** @since New in 1.2. */
636  SVN_ERRDEF(SVN_ERR_FS_LOCK_EXPIRED,
637  SVN_ERR_FS_CATEGORY_START + 41,
638  "Lock has expired")
639 
640  /** @since New in 1.2. */
641  SVN_ERRDEF(SVN_ERR_FS_OUT_OF_DATE,
642  SVN_ERR_FS_CATEGORY_START + 42,
643  "Item is out of date")
644 
645  /**@since New in 1.2.
646  *
647  * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION. To avoid
648  * confusion with "versions" (i.e., releases) of Subversion, we've
649  * started calling this the "format" number instead. The old
650  * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
651  * retains its name.
652  */
654  SVN_ERR_FS_CATEGORY_START + 43,
655  "Unsupported FS format")
656 
657  /** @since New in 1.5. */
658  SVN_ERRDEF(SVN_ERR_FS_REP_BEING_WRITTEN,
659  SVN_ERR_FS_CATEGORY_START + 44,
660  "Representation is being written")
661 
662  /** @since New in 1.5. */
663  SVN_ERRDEF(SVN_ERR_FS_TXN_NAME_TOO_LONG,
664  SVN_ERR_FS_CATEGORY_START + 45,
665  "The generated transaction name is too long")
666 
667  /** @since New in 1.5. */
669  SVN_ERR_FS_CATEGORY_START + 46,
670  "Filesystem has no such node origin record")
671 
672  /** @since New in 1.5. */
674  SVN_ERR_FS_CATEGORY_START + 47,
675  "Filesystem upgrade is not supported")
676 
677  /** @since New in 1.6. */
679  SVN_ERR_FS_CATEGORY_START + 48,
680  "Filesystem has no such checksum-representation index record")
681 
682  /* repos errors */
683 
684  SVN_ERRDEF(SVN_ERR_REPOS_LOCKED,
685  SVN_ERR_REPOS_CATEGORY_START + 0,
686  "The repository is locked, perhaps for db recovery")
687 
688  SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE,
689  SVN_ERR_REPOS_CATEGORY_START + 1,
690  "A repository hook failed")
691 
692  SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS,
693  SVN_ERR_REPOS_CATEGORY_START + 2,
694  "Incorrect arguments supplied")
695 
697  SVN_ERR_REPOS_CATEGORY_START + 3,
698  "A report cannot be generated because no data was supplied")
699 
701  SVN_ERR_REPOS_CATEGORY_START + 4,
702  "Bogus revision report")
703 
704  /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT. To avoid
705  * confusion with "versions" (i.e., releases) of Subversion, we
706  * started using the word "format" instead of "version". However,
707  * this error code's name predates that decision.
708  */
710  SVN_ERR_REPOS_CATEGORY_START + 5,
711  "Unsupported repository version")
712 
714  SVN_ERR_REPOS_CATEGORY_START + 6,
715  "Disabled repository feature")
716 
718  SVN_ERR_REPOS_CATEGORY_START + 7,
719  "Error running post-commit hook")
720 
721  /** @since New in 1.2. */
723  SVN_ERR_REPOS_CATEGORY_START + 8,
724  "Error running post-lock hook")
725 
726  /** @since New in 1.2. */
728  SVN_ERR_REPOS_CATEGORY_START + 9,
729  "Error running post-unlock hook")
730 
731  /** @since New in 1.5. */
733  SVN_ERR_REPOS_CATEGORY_START + 10,
734  "Repository upgrade is not supported")
735 
736  /* generic RA errors */
737 
738  SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL,
739  SVN_ERR_RA_CATEGORY_START + 0,
740  "Bad URL passed to RA layer")
741 
742  SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED,
743  SVN_ERR_RA_CATEGORY_START + 1,
744  "Authorization failed")
745 
746  SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH,
747  SVN_ERR_RA_CATEGORY_START + 2,
748  "Unknown authorization method")
749 
750  SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED,
751  SVN_ERR_RA_CATEGORY_START + 3,
752  "Repository access method not implemented")
753 
754  SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE,
755  SVN_ERR_RA_CATEGORY_START + 4,
756  "Item is out of date")
757 
758  SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID,
759  SVN_ERR_RA_CATEGORY_START + 5,
760  "Repository has no UUID")
761 
763  SVN_ERR_RA_CATEGORY_START + 6,
764  "Unsupported RA plugin ABI version")
765 
766  /** @since New in 1.2. */
767  SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED,
768  SVN_ERR_RA_CATEGORY_START + 7,
769  "Path is not locked")
770 
771  /** @since New in 1.5. */
773  SVN_ERR_RA_CATEGORY_START + 8,
774  "Server can only replay from the root of a repository")
775 
776  /** @since New in 1.5. */
777  SVN_ERRDEF(SVN_ERR_RA_UUID_MISMATCH,
778  SVN_ERR_RA_CATEGORY_START + 9,
779  "Repository UUID does not match expected UUID")
780 
781  /** @since New in 1.6. */
783  SVN_ERR_RA_CATEGORY_START + 10,
784  "Repository root URL does not match expected root URL")
785 
786  /* ra_dav errors */
787 
788  SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT,
789  SVN_ERR_RA_DAV_CATEGORY_START + 0,
790  "RA layer failed to init socket layer")
791 
793  SVN_ERR_RA_DAV_CATEGORY_START + 1,
794  "RA layer failed to create HTTP request")
795 
797  SVN_ERR_RA_DAV_CATEGORY_START + 2,
798  "RA layer request failed")
799 
801  SVN_ERR_RA_DAV_CATEGORY_START + 3,
802  "RA layer didn't receive requested OPTIONS info")
803 
805  SVN_ERR_RA_DAV_CATEGORY_START + 4,
806  "RA layer failed to fetch properties")
807 
809  SVN_ERR_RA_DAV_CATEGORY_START + 5,
810  "RA layer file already exists")
811 
812  /** @deprecated To improve consistency between ra layers, this error code
813  is replaced by SVN_ERR_BAD_CONFIG_VALUE.
814  Slated for removal in the next major release. */
816  SVN_ERR_RA_DAV_CATEGORY_START + 6,
817  "Invalid configuration value")
818 
819  /** @deprecated To improve consistency between ra layers, this error code
820  is replaced in ra_{neon|serf} by SVN_ERR_FS_NOT_FOUND.
821  Slated for removal in the next major release. */
823  SVN_ERR_RA_DAV_CATEGORY_START + 7,
824  "HTTP Path Not Found")
825 
827  SVN_ERR_RA_DAV_CATEGORY_START + 8,
828  "Failed to execute WebDAV PROPPATCH")
829 
830  /** @since New in 1.2. */
832  SVN_ERR_RA_DAV_CATEGORY_START + 9,
833  "Malformed network data")
834 
835  /** @since New in 1.3 */
837  SVN_ERR_RA_DAV_CATEGORY_START + 10,
838  "Unable to extract data from response header")
839 
840  /** @since New in 1.5 */
841  SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
842  SVN_ERR_RA_DAV_CATEGORY_START + 11,
843  "Repository has been moved")
844 
845  /* SVN_ERR_RA_DAV_CATEGORY_START + 12 is reserved for use in 1.7. */
846 
847  /** @since New in 1.6 */
848  SVN_ERRDEF(SVN_ERR_RA_DAV_FORBIDDEN,
849  SVN_ERR_RA_DAV_CATEGORY_START + 13,
850  "URL access forbidden for unknown reason")
851 
852  /* ra_local errors */
853 
855  SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
856  "Couldn't find a repository")
857 
859  SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
860  "Couldn't open a repository")
861  /* ra_svn errors */
862 
863  SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
864  SVN_ERR_RA_SVN_CATEGORY_START + 0,
865  "Special code for wrapping server errors to report to client")
866 
867  SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
868  SVN_ERR_RA_SVN_CATEGORY_START + 1,
869  "Unknown svn protocol command")
870 
872  SVN_ERR_RA_SVN_CATEGORY_START + 2,
873  "Network connection closed unexpectedly")
874 
875  SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
876  SVN_ERR_RA_SVN_CATEGORY_START + 3,
877  "Network read/write error")
878 
880  SVN_ERR_RA_SVN_CATEGORY_START + 4,
881  "Malformed network data")
882 
884  SVN_ERR_RA_SVN_CATEGORY_START + 5,
885  "Couldn't find a repository")
886 
887  SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
888  SVN_ERR_RA_SVN_CATEGORY_START + 6,
889  "Client/server version mismatch")
890 
891  /** @since New in 1.5. */
892  SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
893  SVN_ERR_RA_SVN_CATEGORY_START + 7,
894  "Cannot negotiate authentication mechanism")
895 
896  /* libsvn_ra_serf errors */
897  /** @since New in 1.5. */
899  SVN_ERR_RA_SERF_CATEGORY_START + 0,
900  "Initialization of SSPI library failed")
901  /** @since New in 1.5. */
903  SVN_ERR_RA_SERF_CATEGORY_START + 1,
904  "Server SSL certificate untrusted")
905 
906  /* libsvn_auth errors */
907 
908  /* this error can be used when an auth provider doesn't have
909  the creds, but no other "real" error occurred. */
911  SVN_ERR_AUTHN_CATEGORY_START + 0,
912  "Credential data unavailable")
913 
914  SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
915  SVN_ERR_AUTHN_CATEGORY_START + 1,
916  "No authentication provider available")
917 
919  SVN_ERR_AUTHN_CATEGORY_START + 2,
920  "All authentication providers exhausted")
921 
923  SVN_ERR_AUTHN_CATEGORY_START + 3,
924  "Credentials not saved")
925 
926  /** @since New in 1.5. */
927  SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
928  SVN_ERR_AUTHN_CATEGORY_START + 4,
929  "Authentication failed")
930 
931  /* authorization errors */
932 
934  SVN_ERR_AUTHZ_CATEGORY_START + 0,
935  "Read access denied for root of edit")
936 
937  /** @since New in 1.1. */
938  SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
939  SVN_ERR_AUTHZ_CATEGORY_START + 1,
940  "Item is not readable")
941 
942  /** @since New in 1.1. */
944  SVN_ERR_AUTHZ_CATEGORY_START + 2,
945  "Item is partially readable")
946 
947  SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
948  SVN_ERR_AUTHZ_CATEGORY_START + 3,
949  "Invalid authz configuration")
950 
951  /** @since New in 1.3 */
952  SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
953  SVN_ERR_AUTHZ_CATEGORY_START + 4,
954  "Item is not writable")
955 
956  /* svndiff errors */
957 
959  SVN_ERR_SVNDIFF_CATEGORY_START + 0,
960  "Svndiff data has invalid header")
961 
963  SVN_ERR_SVNDIFF_CATEGORY_START + 1,
964  "Svndiff data contains corrupt window")
965 
967  SVN_ERR_SVNDIFF_CATEGORY_START + 2,
968  "Svndiff data contains backward-sliding source view")
969 
970  SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
971  SVN_ERR_SVNDIFF_CATEGORY_START + 3,
972  "Svndiff data contains invalid instruction")
973 
975  SVN_ERR_SVNDIFF_CATEGORY_START + 4,
976  "Svndiff data ends unexpectedly")
977 
979  SVN_ERR_SVNDIFF_CATEGORY_START + 5,
980  "Svndiff compressed data is invalid")
981 
982  /* libsvn_diff errors */
983 
985  SVN_ERR_DIFF_CATEGORY_START + 0,
986  "Diff data source modified unexpectedly")
987 
988  /* mod_dav_svn errors */
989 
991  SVN_ERR_APMOD_CATEGORY_START + 0,
992  "Apache has no path to an SVN filesystem")
993 
994  SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
995  SVN_ERR_APMOD_CATEGORY_START + 1,
996  "Apache got a malformed URI")
997 
999  SVN_ERR_APMOD_CATEGORY_START + 2,
1000  "Activity not found")
1001 
1002  SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
1003  SVN_ERR_APMOD_CATEGORY_START + 3,
1004  "Baseline incorrect")
1005 
1007  SVN_ERR_APMOD_CATEGORY_START + 4,
1008  "Input/output error")
1009 
1010  /* libsvn_client errors */
1011 
1013  SVN_ERR_CLIENT_CATEGORY_START + 0,
1014  "A path under version control is needed for this operation")
1015 
1017  SVN_ERR_CLIENT_CATEGORY_START + 1,
1018  "Repository access is needed for this operation")
1019 
1020  SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
1021  SVN_ERR_CLIENT_CATEGORY_START + 2,
1022  "Bogus revision information given")
1023 
1025  SVN_ERR_CLIENT_CATEGORY_START + 3,
1026  "Attempting to commit to a URL more than once")
1027 
1028  SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
1029  SVN_ERR_CLIENT_CATEGORY_START + 4,
1030  "Operation does not apply to binary file")
1031 
1032  /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
1033  in order to get gettext translatable strings */
1035  SVN_ERR_CLIENT_CATEGORY_START + 5,
1036  "Format of an svn:externals property was invalid")
1037 
1038  SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
1039  SVN_ERR_CLIENT_CATEGORY_START + 6,
1040  "Attempting restricted operation for modified resource")
1041 
1042  SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
1043  SVN_ERR_CLIENT_CATEGORY_START + 7,
1044  "Operation does not apply to directory")
1045 
1046  SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
1047  SVN_ERR_CLIENT_CATEGORY_START + 8,
1048  "Revision range is not allowed")
1049 
1051  SVN_ERR_CLIENT_CATEGORY_START + 9,
1052  "Inter-repository relocation not allowed")
1053 
1055  SVN_ERR_CLIENT_CATEGORY_START + 10,
1056  "Author name cannot contain a newline")
1057 
1058  SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
1059  SVN_ERR_CLIENT_CATEGORY_START + 11,
1060  "Bad property name")
1061 
1062  /** @since New in 1.1. */
1064  SVN_ERR_CLIENT_CATEGORY_START + 12,
1065  "Two versioned resources are unrelated")
1066 
1067  /** @since New in 1.2. */
1069  SVN_ERR_CLIENT_CATEGORY_START + 13,
1070  "Path has no lock token")
1071 
1072  /** @since New in 1.5. */
1074  SVN_ERR_CLIENT_CATEGORY_START + 14,
1075  "Operation does not support multiple sources")
1076 
1077  /** @since New in 1.5. */
1079  SVN_ERR_CLIENT_CATEGORY_START + 15,
1080  "No versioned parent directories")
1081 
1082  /** @since New in 1.5. */
1084  SVN_ERR_CLIENT_CATEGORY_START + 16,
1085  "Working copy and merge source not ready for reintegration")
1086 
1087  /** @since New in 1.6. */
1089  SVN_ERR_CLIENT_CATEGORY_START + 17,
1090  "A file external cannot overwrite an existing versioned item")
1091 
1092  /* misc errors */
1093 
1094  SVN_ERRDEF(SVN_ERR_BASE,
1095  SVN_ERR_MISC_CATEGORY_START + 0,
1096  "A problem occurred; see other errors for details")
1097 
1098  SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
1099  SVN_ERR_MISC_CATEGORY_START + 1,
1100  "Failure loading plugin")
1101 
1102  SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
1103  SVN_ERR_MISC_CATEGORY_START + 2,
1104  "Malformed file")
1105 
1106  SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
1107  SVN_ERR_MISC_CATEGORY_START + 3,
1108  "Incomplete data")
1109 
1110  SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
1111  SVN_ERR_MISC_CATEGORY_START + 4,
1112  "Incorrect parameters given")
1113 
1114  SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
1115  SVN_ERR_MISC_CATEGORY_START + 5,
1116  "Tried a versioning operation on an unversioned resource")
1117 
1118  SVN_ERRDEF(SVN_ERR_TEST_FAILED,
1119  SVN_ERR_MISC_CATEGORY_START + 6,
1120  "Test failed")
1121 
1122  SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
1123  SVN_ERR_MISC_CATEGORY_START + 7,
1124  "Trying to use an unsupported feature")
1125 
1126  SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
1127  SVN_ERR_MISC_CATEGORY_START + 8,
1128  "Unexpected or unknown property kind")
1129 
1130  SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
1131  SVN_ERR_MISC_CATEGORY_START + 9,
1132  "Illegal target for the requested operation")
1133 
1135  SVN_ERR_MISC_CATEGORY_START + 10,
1136  "MD5 checksum is missing")
1137 
1138  SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
1139  SVN_ERR_MISC_CATEGORY_START + 11,
1140  "Directory needs to be empty but is not")
1141 
1142  SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
1143  SVN_ERR_MISC_CATEGORY_START + 12,
1144  "Error calling external program")
1145 
1146  SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
1147  SVN_ERR_MISC_CATEGORY_START + 13,
1148  "Python exception has been set with the error")
1149 
1150  SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
1151  SVN_ERR_MISC_CATEGORY_START + 14,
1152  "A checksum mismatch occurred")
1153 
1154  SVN_ERRDEF(SVN_ERR_CANCELLED,
1155  SVN_ERR_MISC_CATEGORY_START + 15,
1156  "The operation was interrupted")
1157 
1158  SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
1159  SVN_ERR_MISC_CATEGORY_START + 16,
1160  "The specified diff option is not supported")
1161 
1162  SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
1163  SVN_ERR_MISC_CATEGORY_START + 17,
1164  "Property not found")
1165 
1166  SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
1167  SVN_ERR_MISC_CATEGORY_START + 18,
1168  "No auth file path available")
1169 
1170  /** @since New in 1.1. */
1171  SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
1172  SVN_ERR_MISC_CATEGORY_START + 19,
1173  "Incompatible library version")
1174 
1175  /** @since New in 1.5. */
1176  SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
1177  SVN_ERR_MISC_CATEGORY_START + 20,
1178  "Mergeinfo parse error")
1179 
1180  /** @since New in 1.5. */
1181  SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
1182  SVN_ERR_MISC_CATEGORY_START + 21,
1183  "Cease invocation of this API")
1184 
1185  /** @since New in 1.5. */
1186  SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
1187  SVN_ERR_MISC_CATEGORY_START + 22,
1188  "Error parsing revision number")
1189 
1190  /** @since New in 1.5. */
1191  SVN_ERRDEF(SVN_ERR_ITER_BREAK,
1192  SVN_ERR_MISC_CATEGORY_START + 23,
1193  "Iteration terminated before completion")
1194 
1195  /** @since New in 1.5. */
1196  SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
1197  SVN_ERR_MISC_CATEGORY_START + 24,
1198  "Unknown changelist")
1199 
1200  /** @since New in 1.5. */
1202  SVN_ERR_MISC_CATEGORY_START + 25,
1203  "Reserved directory name in command line arguments")
1204 
1205  /** @since New in 1.5. */
1206  SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
1207  SVN_ERR_MISC_CATEGORY_START + 26,
1208  "Inquiry about unknown capability")
1209 
1210  /** @since New in 1.6. */
1211  SVN_ERRDEF(SVN_ERR_TEST_SKIPPED,
1212  SVN_ERR_MISC_CATEGORY_START + 27,
1213  "Test skipped")
1214 
1215  /** @since New in 1.6. */
1216  SVN_ERRDEF(SVN_ERR_NO_APR_MEMCACHE,
1217  SVN_ERR_MISC_CATEGORY_START + 28,
1218  "apr memcache library not available")
1219 
1220  /** @since New in 1.6. */
1221  SVN_ERRDEF(SVN_ERR_ATOMIC_INIT_FAILURE,
1222  SVN_ERR_MISC_CATEGORY_START + 29,
1223  "Couldn't perform atomic initialization")
1224 
1225  /** @since New in 1.6. */
1226  SVN_ERRDEF(SVN_ERR_SQLITE_ERROR,
1227  SVN_ERR_MISC_CATEGORY_START + 30,
1228  "SQLite error")
1229 
1230  /** @since New in 1.6. */
1231  SVN_ERRDEF(SVN_ERR_SQLITE_READONLY,
1232  SVN_ERR_MISC_CATEGORY_START + 31,
1233  "Attempted to write to readonly SQLite db")
1234 
1235  /** @since New in 1.6. */
1237  SVN_ERR_MISC_CATEGORY_START + 32,
1238  "Unsupported schema found in SQLite db")
1239 
1240  /* command-line client errors */
1241 
1242  SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
1243  SVN_ERR_CL_CATEGORY_START + 0,
1244  "Error parsing arguments")
1245 
1246  SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
1247  SVN_ERR_CL_CATEGORY_START + 1,
1248  "Not enough arguments provided")
1249 
1251  SVN_ERR_CL_CATEGORY_START + 2,
1252  "Mutually exclusive arguments specified")
1253 
1254  SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
1255  SVN_ERR_CL_CATEGORY_START + 3,
1256  "Attempted command in administrative dir")
1257 
1259  SVN_ERR_CL_CATEGORY_START + 4,
1260  "The log message file is under version control")
1261 
1263  SVN_ERR_CL_CATEGORY_START + 5,
1264  "The log message is a pathname")
1265 
1266  SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
1267  SVN_ERR_CL_CATEGORY_START + 6,
1268  "Committing in directory scheduled for addition")
1269 
1270  SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
1271  SVN_ERR_CL_CATEGORY_START + 7,
1272  "No external editor available")
1273 
1274  SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
1275  SVN_ERR_CL_CATEGORY_START + 8,
1276  "Something is wrong with the log message's contents")
1277 
1279  SVN_ERR_CL_CATEGORY_START + 9,
1280  "A log message was given where none was necessary")
1281 
1283  SVN_ERR_CL_CATEGORY_START + 10,
1284  "No external merge tool available")
1285 
1286  /* malfunctions such as assertion failures */
1287 
1288  SVN_ERRDEF(SVN_ERR_ASSERTION_FAIL,
1289  SVN_ERR_MALFUNC_CATEGORY_START + 0,
1290  "Assertion failure")
1291 
1292 SVN_ERROR_END
1293 
1294 
1295 #undef SVN_ERROR_START
1296 #undef SVN_ERRDEF
1297 #undef SVN_ERROR_END
1298 
1299 #ifdef __cplusplus
1300 }
1301 #endif /* __cplusplus */
1302 
1303 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */