3 * ====================================================================
4 * Copyright (c) 2000-2007 CollabNet. All rights reserved.
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.
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 * ====================================================================
18 * @file svn_error_codes.h
19 * @brief Subversion error codes.
22 /* What's going on here?
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().
35 The header and C files both include this file, using #defines to
36 control which version of the macro they get.
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)
46 #include <apr_errno.h> /* APR's error system */
48 #include "svn_props.h" /* For SVN_PROP_EXTERNALS. */
52 #endif /* __cplusplus */
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 #if defined(SVN_ERROR_BUILD_ARRAY)
58 #define SVN_ERROR_START \
59 static const err_defn error_table[] = { \
60 { SVN_WARNING, "Warning" },
61 #define SVN_ERRDEF(num, offset, str) { num, str },
62 #define SVN_ERROR_END { 0, NULL } };
64 #elif !defined(SVN_ERROR_ENUM_DEFINED)
66 #define SVN_ERROR_START \
67 typedef enum svn_errno_t { \
68 SVN_WARNING = APR_OS_START_USERERR + 1,
69 #define SVN_ERRDEF(num, offset, str) /** str */ num = offset,
70 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
72 #define SVN_ERROR_ENUM_DEFINED
76 /* Define custom Subversion error numbers, in the range reserved for
77 that in APR: from APR_OS_START_USERERR to APR_OS_START_SYSERR (see
80 Error numbers are divided into categories of up to 5000 errors
81 each. Since we're dividing up the APR user error space, which has
82 room for 500,000 errors, we can have up to 100 categories.
83 Categories are fixed-size; if a category has fewer than 5000
84 errors, then it just ends with a range of unused numbers.
86 To maintain binary compatibility, please observe these guidelines:
88 - When adding a new error, always add on the end of the
89 appropriate category, so that the real values of existing
90 errors are not changed.
92 - When deleting an error, leave a placeholder comment indicating
93 the offset, again so that the values of other errors are not
97 #define SVN_ERR_CATEGORY_SIZE 5000
99 /* Leave one category of room at the beginning, for SVN_WARNING and
100 any other such beasts we might create in the future. */
101 #define SVN_ERR_BAD_CATEGORY_START (APR_OS_START_USERERR \
102 + ( 1 * SVN_ERR_CATEGORY_SIZE))
103 #define SVN_ERR_XML_CATEGORY_START (APR_OS_START_USERERR \
104 + ( 2 * SVN_ERR_CATEGORY_SIZE))
105 #define SVN_ERR_IO_CATEGORY_START (APR_OS_START_USERERR \
106 + ( 3 * SVN_ERR_CATEGORY_SIZE))
107 #define SVN_ERR_STREAM_CATEGORY_START (APR_OS_START_USERERR \
108 + ( 4 * SVN_ERR_CATEGORY_SIZE))
109 #define SVN_ERR_NODE_CATEGORY_START (APR_OS_START_USERERR \
110 + ( 5 * SVN_ERR_CATEGORY_SIZE))
111 #define SVN_ERR_ENTRY_CATEGORY_START (APR_OS_START_USERERR \
112 + ( 6 * SVN_ERR_CATEGORY_SIZE))
113 #define SVN_ERR_WC_CATEGORY_START (APR_OS_START_USERERR \
114 + ( 7 * SVN_ERR_CATEGORY_SIZE))
115 #define SVN_ERR_FS_CATEGORY_START (APR_OS_START_USERERR \
116 + ( 8 * SVN_ERR_CATEGORY_SIZE))
117 #define SVN_ERR_REPOS_CATEGORY_START (APR_OS_START_USERERR \
118 + ( 9 * SVN_ERR_CATEGORY_SIZE))
119 #define SVN_ERR_RA_CATEGORY_START (APR_OS_START_USERERR \
120 + (10 * SVN_ERR_CATEGORY_SIZE))
121 #define SVN_ERR_RA_DAV_CATEGORY_START (APR_OS_START_USERERR \
122 + (11 * SVN_ERR_CATEGORY_SIZE))
123 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
124 + (12 * SVN_ERR_CATEGORY_SIZE))
125 #define SVN_ERR_SVNDIFF_CATEGORY_START (APR_OS_START_USERERR \
126 + (13 * SVN_ERR_CATEGORY_SIZE))
127 #define SVN_ERR_APMOD_CATEGORY_START (APR_OS_START_USERERR \
128 + (14 * SVN_ERR_CATEGORY_SIZE))
129 #define SVN_ERR_CLIENT_CATEGORY_START (APR_OS_START_USERERR \
130 + (15 * SVN_ERR_CATEGORY_SIZE))
131 #define SVN_ERR_MISC_CATEGORY_START (APR_OS_START_USERERR \
132 + (16 * SVN_ERR_CATEGORY_SIZE))
133 #define SVN_ERR_CL_CATEGORY_START (APR_OS_START_USERERR \
134 + (17 * SVN_ERR_CATEGORY_SIZE))
135 #define SVN_ERR_RA_SVN_CATEGORY_START (APR_OS_START_USERERR \
136 + (18 * SVN_ERR_CATEGORY_SIZE))
137 #define SVN_ERR_AUTHN_CATEGORY_START (APR_OS_START_USERERR \
138 + (19 * SVN_ERR_CATEGORY_SIZE))
139 #define SVN_ERR_AUTHZ_CATEGORY_START (APR_OS_START_USERERR \
140 + (20 * SVN_ERR_CATEGORY_SIZE))
141 #define SVN_ERR_DIFF_CATEGORY_START (APR_OS_START_USERERR \
142 + (21 * SVN_ERR_CATEGORY_SIZE))
143 #define SVN_ERR_RA_SERF_CATEGORY_START (APR_OS_START_USERERR \
144 + (22 * SVN_ERR_CATEGORY_SIZE))
146 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
148 /** Collection of Subversion error code values, located within the
149 * APR user error space. */
152 /* validation ("BAD_FOO") errors */
154 SVN_ERRDEF(SVN_ERR_BAD_CONTAINING_POOL
,
155 SVN_ERR_BAD_CATEGORY_START
+ 0,
156 "Bad parent pool passed to svn_make_pool()")
158 SVN_ERRDEF(SVN_ERR_BAD_FILENAME
,
159 SVN_ERR_BAD_CATEGORY_START
+ 1,
162 SVN_ERRDEF(SVN_ERR_BAD_URL
,
163 SVN_ERR_BAD_CATEGORY_START
+ 2,
166 SVN_ERRDEF(SVN_ERR_BAD_DATE
,
167 SVN_ERR_BAD_CATEGORY_START
+ 3,
170 SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE
,
171 SVN_ERR_BAD_CATEGORY_START
+ 4,
174 /** @since New in 1.5.
176 * Note that there was an unused slot sitting here at
177 * SVN_ERR_BAD_CATEGORY_START + 5, so error codes after this aren't
178 * necessarily "New in 1.5" just because they come later.
180 SVN_ERRDEF(SVN_ERR_BAD_PROPERTY_VALUE
,
181 SVN_ERR_BAD_CATEGORY_START
+ 5,
182 "Wrong or unexpected property value")
184 SVN_ERRDEF(SVN_ERR_BAD_VERSION_FILE_FORMAT
,
185 SVN_ERR_BAD_CATEGORY_START
+ 6,
186 "Version file format not correct")
188 SVN_ERRDEF(SVN_ERR_BAD_RELATIVE_PATH
,
189 SVN_ERR_BAD_CATEGORY_START
+ 7,
190 "Path is not an immediate child of the specified directory")
192 SVN_ERRDEF(SVN_ERR_BAD_UUID
,
193 SVN_ERR_BAD_CATEGORY_START
+ 8,
198 SVN_ERRDEF(SVN_ERR_XML_ATTRIB_NOT_FOUND
,
199 SVN_ERR_XML_CATEGORY_START
+ 0,
200 "No such XML tag attribute")
202 SVN_ERRDEF(SVN_ERR_XML_MISSING_ANCESTRY
,
203 SVN_ERR_XML_CATEGORY_START
+ 1,
204 "<delta-pkg> is missing ancestry")
206 SVN_ERRDEF(SVN_ERR_XML_UNKNOWN_ENCODING
,
207 SVN_ERR_XML_CATEGORY_START
+ 2,
208 "Unrecognized binary data encoding; can't decode")
210 SVN_ERRDEF(SVN_ERR_XML_MALFORMED
,
211 SVN_ERR_XML_CATEGORY_START
+ 3,
212 "XML data was not well-formed")
214 SVN_ERRDEF(SVN_ERR_XML_UNESCAPABLE_DATA
,
215 SVN_ERR_XML_CATEGORY_START
+ 4,
216 "Data cannot be safely XML-escaped")
220 SVN_ERRDEF(SVN_ERR_IO_INCONSISTENT_EOL
,
221 SVN_ERR_IO_CATEGORY_START
+ 0,
222 "Inconsistent line ending style")
224 SVN_ERRDEF(SVN_ERR_IO_UNKNOWN_EOL
,
225 SVN_ERR_IO_CATEGORY_START
+ 1,
226 "Unrecognized line ending style")
228 /** @deprecated Unused, slated for removal in the next major release. */
229 SVN_ERRDEF(SVN_ERR_IO_CORRUPT_EOL
,
230 SVN_ERR_IO_CATEGORY_START
+ 2,
231 "Line endings other than expected")
233 SVN_ERRDEF(SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED
,
234 SVN_ERR_IO_CATEGORY_START
+ 3,
235 "Ran out of unique names")
237 /** @deprecated Unused, slated for removal in the next major release. */
238 SVN_ERRDEF(SVN_ERR_IO_PIPE_FRAME_ERROR
,
239 SVN_ERR_IO_CATEGORY_START
+ 4,
240 "Framing error in pipe protocol")
242 /** @deprecated Unused, slated for removal in the next major release. */
243 SVN_ERRDEF(SVN_ERR_IO_PIPE_READ_ERROR
,
244 SVN_ERR_IO_CATEGORY_START
+ 5,
245 "Read error in pipe")
247 SVN_ERRDEF(SVN_ERR_IO_WRITE_ERROR
,
248 SVN_ERR_IO_CATEGORY_START
+ 6,
253 SVN_ERRDEF(SVN_ERR_STREAM_UNEXPECTED_EOF
,
254 SVN_ERR_STREAM_CATEGORY_START
+ 0,
255 "Unexpected EOF on stream")
257 SVN_ERRDEF(SVN_ERR_STREAM_MALFORMED_DATA
,
258 SVN_ERR_STREAM_CATEGORY_START
+ 1,
259 "Malformed stream data")
261 SVN_ERRDEF(SVN_ERR_STREAM_UNRECOGNIZED_DATA
,
262 SVN_ERR_STREAM_CATEGORY_START
+ 2,
263 "Unrecognized stream data")
267 SVN_ERRDEF(SVN_ERR_NODE_UNKNOWN_KIND
,
268 SVN_ERR_NODE_CATEGORY_START
+ 0,
269 "Unknown svn_node_kind")
271 SVN_ERRDEF(SVN_ERR_NODE_UNEXPECTED_KIND
,
272 SVN_ERR_NODE_CATEGORY_START
+ 1,
273 "Unexpected node kind found")
277 SVN_ERRDEF(SVN_ERR_ENTRY_NOT_FOUND
,
278 SVN_ERR_ENTRY_CATEGORY_START
+ 0,
279 "Can't find an entry")
281 /* UNUSED error slot: + 1 */
283 SVN_ERRDEF(SVN_ERR_ENTRY_EXISTS
,
284 SVN_ERR_ENTRY_CATEGORY_START
+ 2,
285 "Entry already exists")
287 SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_REVISION
,
288 SVN_ERR_ENTRY_CATEGORY_START
+ 3,
289 "Entry has no revision")
291 SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_URL
,
292 SVN_ERR_ENTRY_CATEGORY_START
+ 4,
295 SVN_ERRDEF(SVN_ERR_ENTRY_ATTRIBUTE_INVALID
,
296 SVN_ERR_ENTRY_CATEGORY_START
+ 5,
297 "Entry has an invalid attribute")
301 SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE
,
302 SVN_ERR_WC_CATEGORY_START
+ 0,
305 /** @deprecated Unused, slated for removal in the next major release. */
306 SVN_ERRDEF(SVN_ERR_WC_UNWIND_MISMATCH
,
307 SVN_ERR_WC_CATEGORY_START
+ 1,
308 "Mismatch popping the WC unwind stack")
310 /** @deprecated Unused, slated for removal in the next major release. */
311 SVN_ERRDEF(SVN_ERR_WC_UNWIND_EMPTY
,
312 SVN_ERR_WC_CATEGORY_START
+ 2,
313 "Attempt to pop empty WC unwind stack")
315 /** @deprecated Unused, slated for removal in the next major release. */
316 SVN_ERRDEF(SVN_ERR_WC_UNWIND_NOT_EMPTY
,
317 SVN_ERR_WC_CATEGORY_START
+ 3,
318 "Attempt to unlock with non-empty unwind stack")
320 SVN_ERRDEF(SVN_ERR_WC_LOCKED
,
321 SVN_ERR_WC_CATEGORY_START
+ 4,
322 "Attempted to lock an already-locked dir")
324 SVN_ERRDEF(SVN_ERR_WC_NOT_LOCKED
,
325 SVN_ERR_WC_CATEGORY_START
+ 5,
326 "Working copy not locked; this is probably a bug, please report")
328 /** @deprecated Unused, slated for removal in the next major release. */
329 SVN_ERRDEF(SVN_ERR_WC_INVALID_LOCK
,
330 SVN_ERR_WC_CATEGORY_START
+ 6,
333 SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY
,
334 SVN_ERR_WC_CATEGORY_START
+ 7,
335 "Path is not a working copy directory")
337 SVN_ERRDEF(SVN_ERR_WC_NOT_FILE
,
338 SVN_ERR_WC_CATEGORY_START
+ 8,
339 "Path is not a working copy file")
341 SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG
,
342 SVN_ERR_WC_CATEGORY_START
+ 9,
343 "Problem running log")
345 SVN_ERRDEF(SVN_ERR_WC_PATH_NOT_FOUND
,
346 SVN_ERR_WC_CATEGORY_START
+ 10,
347 "Can't find a working copy path")
349 SVN_ERRDEF(SVN_ERR_WC_NOT_UP_TO_DATE
,
350 SVN_ERR_WC_CATEGORY_START
+ 11,
351 "Working copy is not up-to-date")
353 SVN_ERRDEF(SVN_ERR_WC_LEFT_LOCAL_MOD
,
354 SVN_ERR_WC_CATEGORY_START
+ 12,
355 "Left locally modified or unversioned files")
357 SVN_ERRDEF(SVN_ERR_WC_SCHEDULE_CONFLICT
,
358 SVN_ERR_WC_CATEGORY_START
+ 13,
359 "Unmergeable scheduling requested on an entry")
361 SVN_ERRDEF(SVN_ERR_WC_PATH_FOUND
,
362 SVN_ERR_WC_CATEGORY_START
+ 14,
363 "Found a working copy path")
365 SVN_ERRDEF(SVN_ERR_WC_FOUND_CONFLICT
,
366 SVN_ERR_WC_CATEGORY_START
+ 15,
367 "A conflict in the working copy obstructs the current operation")
369 SVN_ERRDEF(SVN_ERR_WC_CORRUPT
,
370 SVN_ERR_WC_CATEGORY_START
+ 16,
371 "Working copy is corrupt")
373 SVN_ERRDEF(SVN_ERR_WC_CORRUPT_TEXT_BASE
,
374 SVN_ERR_WC_CATEGORY_START
+ 17,
375 "Working copy text base is corrupt")
377 SVN_ERRDEF(SVN_ERR_WC_NODE_KIND_CHANGE
,
378 SVN_ERR_WC_CATEGORY_START
+ 18,
379 "Cannot change node kind")
381 SVN_ERRDEF(SVN_ERR_WC_INVALID_OP_ON_CWD
,
382 SVN_ERR_WC_CATEGORY_START
+ 19,
383 "Invalid operation on the current working directory")
385 SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG_START
,
386 SVN_ERR_WC_CATEGORY_START
+ 20,
387 "Problem on first log entry in a working copy")
389 SVN_ERRDEF(SVN_ERR_WC_UNSUPPORTED_FORMAT
,
390 SVN_ERR_WC_CATEGORY_START
+ 21,
391 "Unsupported working copy format")
393 SVN_ERRDEF(SVN_ERR_WC_BAD_PATH
,
394 SVN_ERR_WC_CATEGORY_START
+ 22,
395 "Path syntax not supported in this context")
397 /** @since New in 1.2. */
398 SVN_ERRDEF(SVN_ERR_WC_INVALID_SCHEDULE
,
399 SVN_ERR_WC_CATEGORY_START
+ 23,
402 /** @since New in 1.3. */
403 SVN_ERRDEF(SVN_ERR_WC_INVALID_RELOCATION
,
404 SVN_ERR_WC_CATEGORY_START
+ 24,
405 "Invalid relocation")
407 /** @since New in 1.3. */
408 SVN_ERRDEF(SVN_ERR_WC_INVALID_SWITCH
,
409 SVN_ERR_WC_CATEGORY_START
+ 25,
412 /** @since New in 1.5. */
413 SVN_ERRDEF(SVN_ERR_WC_MISMATCHED_CHANGELIST
,
414 SVN_ERR_WC_CATEGORY_START
+ 26,
415 "Changelist doesn't match")
417 /** @since New in 1.5. */
418 SVN_ERRDEF(SVN_ERR_WC_CONFLICT_RESOLVER_FAILURE
,
419 SVN_ERR_WC_CATEGORY_START
+ 27,
420 "Conflict resolution failed")
422 SVN_ERRDEF(SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND
,
423 SVN_ERR_WC_CATEGORY_START
+ 28,
424 "Failed to locate 'copyfrom' path in working copy")
426 /** @since New in 1.5. */
427 SVN_ERRDEF(SVN_ERR_WC_CHANGELIST_MOVE
,
428 SVN_ERR_WC_CATEGORY_START
+ 29,
429 "Moving a path from one changelist to another")
434 SVN_ERRDEF(SVN_ERR_FS_GENERAL
,
435 SVN_ERR_FS_CATEGORY_START
+ 0,
436 "General filesystem error")
438 SVN_ERRDEF(SVN_ERR_FS_CLEANUP
,
439 SVN_ERR_FS_CATEGORY_START
+ 1,
440 "Error closing filesystem")
442 SVN_ERRDEF(SVN_ERR_FS_ALREADY_OPEN
,
443 SVN_ERR_FS_CATEGORY_START
+ 2,
444 "Filesystem is already open")
446 SVN_ERRDEF(SVN_ERR_FS_NOT_OPEN
,
447 SVN_ERR_FS_CATEGORY_START
+ 3,
448 "Filesystem is not open")
450 SVN_ERRDEF(SVN_ERR_FS_CORRUPT
,
451 SVN_ERR_FS_CATEGORY_START
+ 4,
452 "Filesystem is corrupt")
454 SVN_ERRDEF(SVN_ERR_FS_PATH_SYNTAX
,
455 SVN_ERR_FS_CATEGORY_START
+ 5,
456 "Invalid filesystem path syntax")
458 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REVISION
,
459 SVN_ERR_FS_CATEGORY_START
+ 6,
460 "Invalid filesystem revision number")
462 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_TRANSACTION
,
463 SVN_ERR_FS_CATEGORY_START
+ 7,
464 "Invalid filesystem transaction name")
466 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_ENTRY
,
467 SVN_ERR_FS_CATEGORY_START
+ 8,
468 "Filesystem directory has no such entry")
470 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REPRESENTATION
,
471 SVN_ERR_FS_CATEGORY_START
+ 9,
472 "Filesystem has no such representation")
474 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_STRING
,
475 SVN_ERR_FS_CATEGORY_START
+ 10,
476 "Filesystem has no such string")
478 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_COPY
,
479 SVN_ERR_FS_CATEGORY_START
+ 11,
480 "Filesystem has no such copy")
482 SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_MUTABLE
,
483 SVN_ERR_FS_CATEGORY_START
+ 12,
484 "The specified transaction is not mutable")
486 SVN_ERRDEF(SVN_ERR_FS_NOT_FOUND
,
487 SVN_ERR_FS_CATEGORY_START
+ 13,
488 "Filesystem has no item")
490 SVN_ERRDEF(SVN_ERR_FS_ID_NOT_FOUND
,
491 SVN_ERR_FS_CATEGORY_START
+ 14,
492 "Filesystem has no such node-rev-id")
494 SVN_ERRDEF(SVN_ERR_FS_NOT_ID
,
495 SVN_ERR_FS_CATEGORY_START
+ 15,
496 "String does not represent a node or node-rev-id")
498 SVN_ERRDEF(SVN_ERR_FS_NOT_DIRECTORY
,
499 SVN_ERR_FS_CATEGORY_START
+ 16,
500 "Name does not refer to a filesystem directory")
502 SVN_ERRDEF(SVN_ERR_FS_NOT_FILE
,
503 SVN_ERR_FS_CATEGORY_START
+ 17,
504 "Name does not refer to a filesystem file")
506 SVN_ERRDEF(SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT
,
507 SVN_ERR_FS_CATEGORY_START
+ 18,
508 "Name is not a single path component")
510 SVN_ERRDEF(SVN_ERR_FS_NOT_MUTABLE
,
511 SVN_ERR_FS_CATEGORY_START
+ 19,
512 "Attempt to change immutable filesystem node")
514 SVN_ERRDEF(SVN_ERR_FS_ALREADY_EXISTS
,
515 SVN_ERR_FS_CATEGORY_START
+ 20,
516 "Item already exists in filesystem")
518 SVN_ERRDEF(SVN_ERR_FS_ROOT_DIR
,
519 SVN_ERR_FS_CATEGORY_START
+ 21,
520 "Attempt to remove or recreate fs root dir")
522 SVN_ERRDEF(SVN_ERR_FS_NOT_TXN_ROOT
,
523 SVN_ERR_FS_CATEGORY_START
+ 22,
524 "Object is not a transaction root")
526 SVN_ERRDEF(SVN_ERR_FS_NOT_REVISION_ROOT
,
527 SVN_ERR_FS_CATEGORY_START
+ 23,
528 "Object is not a revision root")
530 SVN_ERRDEF(SVN_ERR_FS_CONFLICT
,
531 SVN_ERR_FS_CATEGORY_START
+ 24,
532 "Merge conflict during commit")
534 SVN_ERRDEF(SVN_ERR_FS_REP_CHANGED
,
535 SVN_ERR_FS_CATEGORY_START
+ 25,
536 "A representation vanished or changed between reads")
538 SVN_ERRDEF(SVN_ERR_FS_REP_NOT_MUTABLE
,
539 SVN_ERR_FS_CATEGORY_START
+ 26,
540 "Tried to change an immutable representation")
542 SVN_ERRDEF(SVN_ERR_FS_MALFORMED_SKEL
,
543 SVN_ERR_FS_CATEGORY_START
+ 27,
544 "Malformed skeleton data")
546 SVN_ERRDEF(SVN_ERR_FS_TXN_OUT_OF_DATE
,
547 SVN_ERR_FS_CATEGORY_START
+ 28,
548 "Transaction is out of date")
550 SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB
,
551 SVN_ERR_FS_CATEGORY_START
+ 29,
554 SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB_DEADLOCK
,
555 SVN_ERR_FS_CATEGORY_START
+ 30,
556 "Berkeley DB deadlock error")
558 SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_DEAD
,
559 SVN_ERR_FS_CATEGORY_START
+ 31,
560 "Transaction is dead")
562 SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_DEAD
,
563 SVN_ERR_FS_CATEGORY_START
+ 32,
564 "Transaction is not dead")
566 /** @since New in 1.1. */
567 SVN_ERRDEF(SVN_ERR_FS_UNKNOWN_FS_TYPE
,
568 SVN_ERR_FS_CATEGORY_START
+ 33,
571 /** @since New in 1.2. */
572 SVN_ERRDEF(SVN_ERR_FS_NO_USER
,
573 SVN_ERR_FS_CATEGORY_START
+ 34,
574 "No user associated with filesystem")
576 /** @since New in 1.2. */
577 SVN_ERRDEF(SVN_ERR_FS_PATH_ALREADY_LOCKED
,
578 SVN_ERR_FS_CATEGORY_START
+ 35,
579 "Path is already locked")
581 /** @since New in 1.2. */
582 SVN_ERRDEF(SVN_ERR_FS_PATH_NOT_LOCKED
,
583 SVN_ERR_FS_CATEGORY_START
+ 36,
584 "Path is not locked")
586 /** @since New in 1.2. */
587 SVN_ERRDEF(SVN_ERR_FS_BAD_LOCK_TOKEN
,
588 SVN_ERR_FS_CATEGORY_START
+ 37,
589 "Lock token is incorrect")
591 /** @since New in 1.2. */
592 SVN_ERRDEF(SVN_ERR_FS_NO_LOCK_TOKEN
,
593 SVN_ERR_FS_CATEGORY_START
+ 38,
594 "No lock token provided")
596 /** @since New in 1.2. */
597 SVN_ERRDEF(SVN_ERR_FS_LOCK_OWNER_MISMATCH
,
598 SVN_ERR_FS_CATEGORY_START
+ 39,
599 "Username does not match lock owner")
601 /** @since New in 1.2. */
602 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_LOCK
,
603 SVN_ERR_FS_CATEGORY_START
+ 40,
604 "Filesystem has no such lock")
606 /** @since New in 1.2. */
607 SVN_ERRDEF(SVN_ERR_FS_LOCK_EXPIRED
,
608 SVN_ERR_FS_CATEGORY_START
+ 41,
611 /** @since New in 1.2. */
612 SVN_ERRDEF(SVN_ERR_FS_OUT_OF_DATE
,
613 SVN_ERR_FS_CATEGORY_START
+ 42,
614 "Item is out of date")
616 /**@since New in 1.2.
618 * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION. To avoid
619 * confusion with "versions" (i.e., releases) of Subversion, we've
620 * started calling this the "format" number instead. The old
621 * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
624 SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_FORMAT
,
625 SVN_ERR_FS_CATEGORY_START
+ 43,
626 "Unsupported FS format")
628 /** @since New in 1.5. */
629 SVN_ERRDEF(SVN_ERR_FS_REP_BEING_WRITTEN
,
630 SVN_ERR_FS_CATEGORY_START
+ 44,
631 "Representation is being written")
633 /** @since New in 1.5. */
634 SVN_ERRDEF(SVN_ERR_FS_TXN_NAME_TOO_LONG
,
635 SVN_ERR_FS_CATEGORY_START
+ 45,
636 "The generated transaction name is too long")
638 /** @since New in 1.5. */
639 SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_NODE_ORIGIN
,
640 SVN_ERR_FS_CATEGORY_START
+ 46,
641 "Filesystem has no such node origin record")
643 /** @since New in 1.5. */
644 SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_UPGRADE
,
645 SVN_ERR_FS_CATEGORY_START
+ 47,
646 "Filesystem upgrade is not supported")
650 SVN_ERRDEF(SVN_ERR_REPOS_LOCKED
,
651 SVN_ERR_REPOS_CATEGORY_START
+ 0,
652 "The repository is locked, perhaps for db recovery")
654 SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE
,
655 SVN_ERR_REPOS_CATEGORY_START
+ 1,
656 "A repository hook failed")
658 SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS
,
659 SVN_ERR_REPOS_CATEGORY_START
+ 2,
660 "Incorrect arguments supplied")
662 SVN_ERRDEF(SVN_ERR_REPOS_NO_DATA_FOR_REPORT
,
663 SVN_ERR_REPOS_CATEGORY_START
+ 3,
664 "A report cannot be generated because no data was supplied")
666 SVN_ERRDEF(SVN_ERR_REPOS_BAD_REVISION_REPORT
,
667 SVN_ERR_REPOS_CATEGORY_START
+ 4,
668 "Bogus revision report")
670 /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT. To avoid
671 * confusion with "versions" (i.e., releases) of Subversion, we
672 * started using the word "format" instead of "version". However,
673 * this error code's name predates that decision.
675 SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_VERSION
,
676 SVN_ERR_REPOS_CATEGORY_START
+ 5,
677 "Unsupported repository version")
679 SVN_ERRDEF(SVN_ERR_REPOS_DISABLED_FEATURE
,
680 SVN_ERR_REPOS_CATEGORY_START
+ 6,
681 "Disabled repository feature")
683 SVN_ERRDEF(SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED
,
684 SVN_ERR_REPOS_CATEGORY_START
+ 7,
685 "Error running post-commit hook")
687 /** @since New in 1.2. */
688 SVN_ERRDEF(SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED
,
689 SVN_ERR_REPOS_CATEGORY_START
+ 8,
690 "Error running post-lock hook")
692 /** @since New in 1.2. */
693 SVN_ERRDEF(SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED
,
694 SVN_ERR_REPOS_CATEGORY_START
+ 9,
695 "Error running post-unlock hook")
697 /** @since New in 1.5. */
698 SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_UPGRADE
,
699 SVN_ERR_REPOS_CATEGORY_START
+ 10,
700 "Repository upgrade is not supported")
702 /* generic RA errors */
704 SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL
,
705 SVN_ERR_RA_CATEGORY_START
+ 0,
706 "Bad URL passed to RA layer")
708 SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED
,
709 SVN_ERR_RA_CATEGORY_START
+ 1,
710 "Authorization failed")
712 SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH
,
713 SVN_ERR_RA_CATEGORY_START
+ 2,
714 "Unknown authorization method")
716 SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED
,
717 SVN_ERR_RA_CATEGORY_START
+ 3,
718 "Repository access method not implemented")
720 SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE
,
721 SVN_ERR_RA_CATEGORY_START
+ 4,
722 "Item is out of date")
724 SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID
,
725 SVN_ERR_RA_CATEGORY_START
+ 5,
726 "Repository has no UUID")
728 SVN_ERRDEF(SVN_ERR_RA_UNSUPPORTED_ABI_VERSION
,
729 SVN_ERR_RA_CATEGORY_START
+ 6,
730 "Unsupported RA plugin ABI version")
732 /** @since New in 1.2. */
733 SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED
,
734 SVN_ERR_RA_CATEGORY_START
+ 7,
735 "Path is not locked")
737 /** @since New in 1.5. */
738 SVN_ERRDEF(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED
,
739 SVN_ERR_RA_CATEGORY_START
+ 8,
740 "Server can only replay from the root of a repository")
742 /** @since New in 1.5. */
743 SVN_ERRDEF(SVN_ERR_RA_UUID_MISMATCH
,
744 SVN_ERR_RA_CATEGORY_START
+ 9,
745 "Repository UUID does not match expected UUID")
749 SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT
,
750 SVN_ERR_RA_DAV_CATEGORY_START
+ 0,
751 "RA layer failed to init socket layer")
753 SVN_ERRDEF(SVN_ERR_RA_DAV_CREATING_REQUEST
,
754 SVN_ERR_RA_DAV_CATEGORY_START
+ 1,
755 "RA layer failed to create HTTP request")
757 SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED
,
758 SVN_ERR_RA_DAV_CATEGORY_START
+ 2,
759 "RA layer request failed")
761 SVN_ERRDEF(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED
,
762 SVN_ERR_RA_DAV_CATEGORY_START
+ 3,
763 "RA layer didn't receive requested OPTIONS info")
765 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND
,
766 SVN_ERR_RA_DAV_CATEGORY_START
+ 4,
767 "RA layer failed to fetch properties")
769 SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS
,
770 SVN_ERR_RA_DAV_CATEGORY_START
+ 5,
771 "RA layer file already exists")
773 SVN_ERRDEF(SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE
,
774 SVN_ERR_RA_DAV_CATEGORY_START
+ 6,
775 "Invalid configuration value")
777 SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND
,
778 SVN_ERR_RA_DAV_CATEGORY_START
+ 7,
779 "HTTP Path Not Found")
781 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED
,
782 SVN_ERR_RA_DAV_CATEGORY_START
+ 8,
783 "Failed to execute WebDAV PROPPATCH")
785 /** @since New in 1.2. */
786 SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA
,
787 SVN_ERR_RA_DAV_CATEGORY_START
+ 9,
788 "Malformed network data")
790 /** @since New in 1.3 */
791 SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS
,
792 SVN_ERR_RA_DAV_CATEGORY_START
+ 10,
793 "Unable to extract data from response header")
795 /** @since New in 1.5 */
796 SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED
,
797 SVN_ERR_RA_DAV_CATEGORY_START
+ 11,
798 "Repository has been moved")
800 /* ra_local errors */
802 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND
,
803 SVN_ERR_RA_LOCAL_CATEGORY_START
+ 0,
804 "Couldn't find a repository")
806 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED
,
807 SVN_ERR_RA_LOCAL_CATEGORY_START
+ 1,
808 "Couldn't open a repository")
811 SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR
,
812 SVN_ERR_RA_SVN_CATEGORY_START
+ 0,
813 "Special code for wrapping server errors to report to client")
815 SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD
,
816 SVN_ERR_RA_SVN_CATEGORY_START
+ 1,
817 "Unknown svn protocol command")
819 SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED
,
820 SVN_ERR_RA_SVN_CATEGORY_START
+ 2,
821 "Network connection closed unexpectedly")
823 SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR
,
824 SVN_ERR_RA_SVN_CATEGORY_START
+ 3,
825 "Network read/write error")
827 SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA
,
828 SVN_ERR_RA_SVN_CATEGORY_START
+ 4,
829 "Malformed network data")
831 SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND
,
832 SVN_ERR_RA_SVN_CATEGORY_START
+ 5,
833 "Couldn't find a repository")
835 SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION
,
836 SVN_ERR_RA_SVN_CATEGORY_START
+ 6,
837 "Client/server version mismatch")
839 /** @since New in 1.5. */
840 SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS
,
841 SVN_ERR_RA_SVN_CATEGORY_START
+ 7,
842 "Cannot negotiate authentication mechanism")
844 /* libsvn_ra_serf errors */
845 /** @since New in 1.5. */
846 SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED
,
847 SVN_ERR_RA_SERF_CATEGORY_START
+ 0,
848 "Initialization of SSPI library failed")
849 /** @since New in 1.5. */
850 SVN_ERRDEF(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED
,
851 SVN_ERR_RA_SERF_CATEGORY_START
+ 1,
852 "Server SSL certificate untrusted")
854 /* libsvn_auth errors */
856 /* this error can be used when an auth provider doesn't have
857 the creds, but no other "real" error occurred. */
858 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE
,
859 SVN_ERR_AUTHN_CATEGORY_START
+ 0,
860 "Credential data unavailable")
862 SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER
,
863 SVN_ERR_AUTHN_CATEGORY_START
+ 1,
864 "No authentication provider available")
866 SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED
,
867 SVN_ERR_AUTHN_CATEGORY_START
+ 2,
868 "All authentication providers exhausted")
870 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED
,
871 SVN_ERR_AUTHN_CATEGORY_START
+ 3,
872 "All authentication providers exhausted")
874 /** @since New in 1.5. */
875 SVN_ERRDEF(SVN_ERR_AUTHN_FAILED
,
876 SVN_ERR_AUTHN_CATEGORY_START
+ 4,
877 "Authentication failed")
879 /* authorization errors */
881 SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE
,
882 SVN_ERR_AUTHZ_CATEGORY_START
+ 0,
883 "Read access denied for root of edit")
885 /** @since New in 1.1. */
886 SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE
,
887 SVN_ERR_AUTHZ_CATEGORY_START
+ 1,
888 "Item is not readable")
890 /** @since New in 1.1. */
891 SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE
,
892 SVN_ERR_AUTHZ_CATEGORY_START
+ 2,
893 "Item is partially readable")
895 SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG
,
896 SVN_ERR_AUTHZ_CATEGORY_START
+ 3,
897 "Invalid authz configuration")
899 /** @since New in 1.3 */
900 SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE
,
901 SVN_ERR_AUTHZ_CATEGORY_START
+ 4,
902 "Item is not writable")
906 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER
,
907 SVN_ERR_SVNDIFF_CATEGORY_START
+ 0,
908 "Svndiff data has invalid header")
910 SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW
,
911 SVN_ERR_SVNDIFF_CATEGORY_START
+ 1,
912 "Svndiff data contains corrupt window")
914 SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW
,
915 SVN_ERR_SVNDIFF_CATEGORY_START
+ 2,
916 "Svndiff data contains backward-sliding source view")
918 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS
,
919 SVN_ERR_SVNDIFF_CATEGORY_START
+ 3,
920 "Svndiff data contains invalid instruction")
922 SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END
,
923 SVN_ERR_SVNDIFF_CATEGORY_START
+ 4,
924 "Svndiff data ends unexpectedly")
926 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA
,
927 SVN_ERR_SVNDIFF_CATEGORY_START
+ 5,
928 "Svndiff compressed data is invalid")
930 /* libsvn_diff errors */
932 SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED
,
933 SVN_ERR_DIFF_CATEGORY_START
+ 0,
934 "Diff data source modified unexpectedly")
936 /* mod_dav_svn errors */
938 SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS
,
939 SVN_ERR_APMOD_CATEGORY_START
+ 0,
940 "Apache has no path to an SVN filesystem")
942 SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI
,
943 SVN_ERR_APMOD_CATEGORY_START
+ 1,
944 "Apache got a malformed URI")
946 SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND
,
947 SVN_ERR_APMOD_CATEGORY_START
+ 2,
948 "Activity not found")
950 SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE
,
951 SVN_ERR_APMOD_CATEGORY_START
+ 3,
952 "Baseline incorrect")
954 SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED
,
955 SVN_ERR_APMOD_CATEGORY_START
+ 4,
956 "Input/output error")
958 /* libsvn_client errors */
960 SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED
,
961 SVN_ERR_CLIENT_CATEGORY_START
+ 0,
962 "A path under version control is needed for this operation")
964 SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED
,
965 SVN_ERR_CLIENT_CATEGORY_START
+ 1,
966 "Repository access is needed for this operation")
968 SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION
,
969 SVN_ERR_CLIENT_CATEGORY_START
+ 2,
970 "Bogus revision information given")
972 SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL
,
973 SVN_ERR_CLIENT_CATEGORY_START
+ 3,
974 "Attempting to commit to a URL more than once")
976 SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE
,
977 SVN_ERR_CLIENT_CATEGORY_START
+ 4,
978 "Operation does not apply to binary file")
980 /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
981 in order to get gettext translatable strings */
982 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION
,
983 SVN_ERR_CLIENT_CATEGORY_START
+ 5,
984 "Format of an svn:externals property was invalid")
986 SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED
,
987 SVN_ERR_CLIENT_CATEGORY_START
+ 6,
988 "Attempting restricted operation for modified resource")
990 SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY
,
991 SVN_ERR_CLIENT_CATEGORY_START
+ 7,
992 "Operation does not apply to directory")
994 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE
,
995 SVN_ERR_CLIENT_CATEGORY_START
+ 8,
996 "Revision range is not allowed")
998 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION
,
999 SVN_ERR_CLIENT_CATEGORY_START
+ 9,
1000 "Inter-repository relocation not allowed")
1002 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
,
1003 SVN_ERR_CLIENT_CATEGORY_START
+ 10,
1004 "Author name cannot contain a newline")
1006 SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME
,
1007 SVN_ERR_CLIENT_CATEGORY_START
+ 11,
1008 "Bad property name")
1010 /** @since New in 1.1. */
1011 SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES
,
1012 SVN_ERR_CLIENT_CATEGORY_START
+ 12,
1013 "Two versioned resources are unrelated")
1015 /** @since New in 1.2. */
1016 SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN
,
1017 SVN_ERR_CLIENT_CATEGORY_START
+ 13,
1018 "Path has no lock token")
1020 /** @since New in 1.5. */
1021 SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED
,
1022 SVN_ERR_CLIENT_CATEGORY_START
+ 14,
1023 "Operation does not support multiple sources")
1025 /** @since New in 1.5. */
1026 SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT
,
1027 SVN_ERR_CLIENT_CATEGORY_START
+ 15,
1028 "No versioned parent directories")
1030 /** @since New in 1.5. */
1031 SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE
,
1032 SVN_ERR_CLIENT_CATEGORY_START
+ 16,
1033 "Working copy and merge source not ready for reintegration")
1037 SVN_ERRDEF(SVN_ERR_BASE
,
1038 SVN_ERR_MISC_CATEGORY_START
+ 0,
1039 "A problem occurred; see later errors for details")
1041 SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE
,
1042 SVN_ERR_MISC_CATEGORY_START
+ 1,
1043 "Failure loading plugin")
1045 SVN_ERRDEF(SVN_ERR_MALFORMED_FILE
,
1046 SVN_ERR_MISC_CATEGORY_START
+ 2,
1049 SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA
,
1050 SVN_ERR_MISC_CATEGORY_START
+ 3,
1053 SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS
,
1054 SVN_ERR_MISC_CATEGORY_START
+ 4,
1055 "Incorrect parameters given")
1057 SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE
,
1058 SVN_ERR_MISC_CATEGORY_START
+ 5,
1059 "Tried a versioning operation on an unversioned resource")
1061 SVN_ERRDEF(SVN_ERR_TEST_FAILED
,
1062 SVN_ERR_MISC_CATEGORY_START
+ 6,
1065 SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE
,
1066 SVN_ERR_MISC_CATEGORY_START
+ 7,
1067 "Trying to use an unsupported feature")
1069 SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND
,
1070 SVN_ERR_MISC_CATEGORY_START
+ 8,
1071 "Unexpected or unknown property kind")
1073 SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET
,
1074 SVN_ERR_MISC_CATEGORY_START
+ 9,
1075 "Illegal target for the requested operation")
1077 SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT
,
1078 SVN_ERR_MISC_CATEGORY_START
+ 10,
1079 "MD5 checksum is missing")
1081 SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY
,
1082 SVN_ERR_MISC_CATEGORY_START
+ 11,
1083 "Directory needs to be empty but is not")
1085 SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM
,
1086 SVN_ERR_MISC_CATEGORY_START
+ 12,
1087 "Error calling external program")
1089 SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET
,
1090 SVN_ERR_MISC_CATEGORY_START
+ 13,
1091 "Python exception has been set with the error")
1093 SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH
,
1094 SVN_ERR_MISC_CATEGORY_START
+ 14,
1095 "A checksum mismatch occurred")
1097 SVN_ERRDEF(SVN_ERR_CANCELLED
,
1098 SVN_ERR_MISC_CATEGORY_START
+ 15,
1099 "The operation was interrupted")
1101 SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION
,
1102 SVN_ERR_MISC_CATEGORY_START
+ 16,
1103 "The specified diff option is not supported")
1105 SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND
,
1106 SVN_ERR_MISC_CATEGORY_START
+ 17,
1107 "Property not found")
1109 SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH
,
1110 SVN_ERR_MISC_CATEGORY_START
+ 18,
1111 "No auth file path available")
1113 /** @since New in 1.1. */
1114 SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH
,
1115 SVN_ERR_MISC_CATEGORY_START
+ 19,
1116 "Incompatible library version")
1118 /** @since New in 1.5. */
1119 SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR
,
1120 SVN_ERR_MISC_CATEGORY_START
+ 20,
1121 "Mergeinfo parse error")
1123 /** @since New in 1.5. */
1124 SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION
,
1125 SVN_ERR_MISC_CATEGORY_START
+ 21,
1126 "Cease invocation of this API")
1128 /** @since New in 1.5. */
1129 SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE
,
1130 SVN_ERR_MISC_CATEGORY_START
+ 22,
1131 "Error parsing revision number")
1133 /** @since New in 1.5. */
1134 SVN_ERRDEF(SVN_ERR_ITER_BREAK
,
1135 SVN_ERR_MISC_CATEGORY_START
+ 23,
1136 "Iteration terminated before completion")
1138 /** @since New in 1.5. */
1139 SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST
,
1140 SVN_ERR_MISC_CATEGORY_START
+ 24,
1141 "Unknown changelist")
1143 /** @since New in 1.5. */
1144 SVN_ERRDEF(SVN_ERR_RESERVED_FILENAME_SPECIFIED
,
1145 SVN_ERR_MISC_CATEGORY_START
+ 25,
1146 "Reserved directory name in command line arguments")
1148 /** @since New in 1.5. */
1149 SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY
,
1150 SVN_ERR_MISC_CATEGORY_START
+ 26,
1151 "Inquiry about unknown capability")
1153 /* command-line client errors */
1155 SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR
,
1156 SVN_ERR_CL_CATEGORY_START
+ 0,
1157 "Error parsing arguments")
1159 SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS
,
1160 SVN_ERR_CL_CATEGORY_START
+ 1,
1161 "Not enough arguments provided")
1163 SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS
,
1164 SVN_ERR_CL_CATEGORY_START
+ 2,
1165 "Mutually exclusive arguments specified")
1167 SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED
,
1168 SVN_ERR_CL_CATEGORY_START
+ 3,
1169 "Attempted command in administrative dir")
1171 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE
,
1172 SVN_ERR_CL_CATEGORY_START
+ 4,
1173 "The log message file is under version control")
1175 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME
,
1176 SVN_ERR_CL_CATEGORY_START
+ 5,
1177 "The log message is a pathname")
1179 SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR
,
1180 SVN_ERR_CL_CATEGORY_START
+ 6,
1181 "Committing in directory scheduled for addition")
1183 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR
,
1184 SVN_ERR_CL_CATEGORY_START
+ 7,
1185 "No external editor available")
1187 SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE
,
1188 SVN_ERR_CL_CATEGORY_START
+ 8,
1189 "Something is wrong with the log message's contents")
1191 SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE
,
1192 SVN_ERR_CL_CATEGORY_START
+ 9,
1193 "A log message was given where none was necessary")
1195 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL
,
1196 SVN_ERR_CL_CATEGORY_START
+ 10,
1197 "No external merge tool available")
1202 #undef SVN_ERROR_START
1204 #undef SVN_ERROR_END
1208 #endif /* __cplusplus */
1210 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */