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")
645 SVN_ERRDEF(SVN_ERR_REPOS_LOCKED
,
646 SVN_ERR_REPOS_CATEGORY_START
+ 0,
647 "The repository is locked, perhaps for db recovery")
649 SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE
,
650 SVN_ERR_REPOS_CATEGORY_START
+ 1,
651 "A repository hook failed")
653 SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS
,
654 SVN_ERR_REPOS_CATEGORY_START
+ 2,
655 "Incorrect arguments supplied")
657 SVN_ERRDEF(SVN_ERR_REPOS_NO_DATA_FOR_REPORT
,
658 SVN_ERR_REPOS_CATEGORY_START
+ 3,
659 "A report cannot be generated because no data was supplied")
661 SVN_ERRDEF(SVN_ERR_REPOS_BAD_REVISION_REPORT
,
662 SVN_ERR_REPOS_CATEGORY_START
+ 4,
663 "Bogus revision report")
665 /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT. To avoid
666 * confusion with "versions" (i.e., releases) of Subversion, we
667 * started using the word "format" instead of "version". However,
668 * this error code's name predates that decision.
670 SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_VERSION
,
671 SVN_ERR_REPOS_CATEGORY_START
+ 5,
672 "Unsupported repository version")
674 SVN_ERRDEF(SVN_ERR_REPOS_DISABLED_FEATURE
,
675 SVN_ERR_REPOS_CATEGORY_START
+ 6,
676 "Disabled repository feature")
678 SVN_ERRDEF(SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED
,
679 SVN_ERR_REPOS_CATEGORY_START
+ 7,
680 "Error running post-commit hook")
682 /** @since New in 1.2. */
683 SVN_ERRDEF(SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED
,
684 SVN_ERR_REPOS_CATEGORY_START
+ 8,
685 "Error running post-lock hook")
687 /** @since New in 1.2. */
688 SVN_ERRDEF(SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED
,
689 SVN_ERR_REPOS_CATEGORY_START
+ 9,
690 "Error running post-unlock hook")
693 /* generic RA errors */
695 SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL
,
696 SVN_ERR_RA_CATEGORY_START
+ 0,
697 "Bad URL passed to RA layer")
699 SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED
,
700 SVN_ERR_RA_CATEGORY_START
+ 1,
701 "Authorization failed")
703 SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH
,
704 SVN_ERR_RA_CATEGORY_START
+ 2,
705 "Unknown authorization method")
707 SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED
,
708 SVN_ERR_RA_CATEGORY_START
+ 3,
709 "Repository access method not implemented")
711 SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE
,
712 SVN_ERR_RA_CATEGORY_START
+ 4,
713 "Item is out of date")
715 SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID
,
716 SVN_ERR_RA_CATEGORY_START
+ 5,
717 "Repository has no UUID")
719 SVN_ERRDEF(SVN_ERR_RA_UNSUPPORTED_ABI_VERSION
,
720 SVN_ERR_RA_CATEGORY_START
+ 6,
721 "Unsupported RA plugin ABI version")
723 /** @since New in 1.2. */
724 SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED
,
725 SVN_ERR_RA_CATEGORY_START
+ 7,
726 "Path is not locked")
728 /** @since New in 1.5. */
729 SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_CAPABILITY
,
730 SVN_ERR_RA_CATEGORY_START
+ 8,
731 "Inquiry about unknown capability")
733 SVN_ERRDEF(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED
,
734 SVN_ERR_RA_CATEGORY_START
+ 9,
735 "Server can only replay from the root of a repository")
739 SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT
,
740 SVN_ERR_RA_DAV_CATEGORY_START
+ 0,
741 "RA layer failed to init socket layer")
743 SVN_ERRDEF(SVN_ERR_RA_DAV_CREATING_REQUEST
,
744 SVN_ERR_RA_DAV_CATEGORY_START
+ 1,
745 "RA layer failed to create HTTP request")
747 SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED
,
748 SVN_ERR_RA_DAV_CATEGORY_START
+ 2,
749 "RA layer request failed")
751 SVN_ERRDEF(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED
,
752 SVN_ERR_RA_DAV_CATEGORY_START
+ 3,
753 "RA layer didn't receive requested OPTIONS info")
755 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND
,
756 SVN_ERR_RA_DAV_CATEGORY_START
+ 4,
757 "RA layer failed to fetch properties")
759 SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS
,
760 SVN_ERR_RA_DAV_CATEGORY_START
+ 5,
761 "RA layer file already exists")
763 SVN_ERRDEF(SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE
,
764 SVN_ERR_RA_DAV_CATEGORY_START
+ 6,
765 "Invalid configuration value")
767 SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND
,
768 SVN_ERR_RA_DAV_CATEGORY_START
+ 7,
769 "HTTP Path Not Found")
771 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED
,
772 SVN_ERR_RA_DAV_CATEGORY_START
+ 8,
773 "Failed to execute WebDAV PROPPATCH")
775 /** @since New in 1.2. */
776 SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA
,
777 SVN_ERR_RA_DAV_CATEGORY_START
+ 9,
778 "Malformed network data")
780 /** @since New in 1.3 */
781 SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS
,
782 SVN_ERR_RA_DAV_CATEGORY_START
+ 10,
783 "Unable to extract data from response header")
785 /** @since New in 1.5 */
786 SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED
,
787 SVN_ERR_RA_DAV_CATEGORY_START
+ 11,
788 "Repository has been moved")
790 /* ra_local errors */
792 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND
,
793 SVN_ERR_RA_LOCAL_CATEGORY_START
+ 0,
794 "Couldn't find a repository")
796 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED
,
797 SVN_ERR_RA_LOCAL_CATEGORY_START
+ 1,
798 "Couldn't open a repository")
801 SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR
,
802 SVN_ERR_RA_SVN_CATEGORY_START
+ 0,
803 "Special code for wrapping server errors to report to client")
805 SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD
,
806 SVN_ERR_RA_SVN_CATEGORY_START
+ 1,
807 "Unknown svn protocol command")
809 SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED
,
810 SVN_ERR_RA_SVN_CATEGORY_START
+ 2,
811 "Network connection closed unexpectedly")
813 SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR
,
814 SVN_ERR_RA_SVN_CATEGORY_START
+ 3,
815 "Network read/write error")
817 SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA
,
818 SVN_ERR_RA_SVN_CATEGORY_START
+ 4,
819 "Malformed network data")
821 SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND
,
822 SVN_ERR_RA_SVN_CATEGORY_START
+ 5,
823 "Couldn't find a repository")
825 SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION
,
826 SVN_ERR_RA_SVN_CATEGORY_START
+ 6,
827 "Client/server version mismatch")
829 /** @since New in 1.5. */
830 SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS
,
831 SVN_ERR_RA_SVN_CATEGORY_START
+ 7,
832 "Cannot negotiate authentication mechanism")
834 /* libsvn_ra_serf errors */
835 /** @since New in 1.5. */
836 SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED
,
837 SVN_ERR_RA_SERF_CATEGORY_START
+ 0,
838 "Initialization of SSPI library failed")
840 /* libsvn_auth errors */
842 /* this error can be used when an auth provider doesn't have
843 the creds, but no other "real" error occurred. */
844 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE
,
845 SVN_ERR_AUTHN_CATEGORY_START
+ 0,
846 "Credential data unavailable")
848 SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER
,
849 SVN_ERR_AUTHN_CATEGORY_START
+ 1,
850 "No authentication provider available")
852 SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED
,
853 SVN_ERR_AUTHN_CATEGORY_START
+ 2,
854 "All authentication providers exhausted")
856 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED
,
857 SVN_ERR_AUTHN_CATEGORY_START
+ 3,
858 "All authentication providers exhausted")
860 /** @since New in 1.5. */
861 SVN_ERRDEF(SVN_ERR_AUTHN_FAILED
,
862 SVN_ERR_AUTHN_CATEGORY_START
+ 4,
863 "Authentication failed")
865 /* authorization errors */
867 SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE
,
868 SVN_ERR_AUTHZ_CATEGORY_START
+ 0,
869 "Read access denied for root of edit")
871 /** @since New in 1.1. */
872 SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE
,
873 SVN_ERR_AUTHZ_CATEGORY_START
+ 1,
874 "Item is not readable")
876 /** @since New in 1.1. */
877 SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE
,
878 SVN_ERR_AUTHZ_CATEGORY_START
+ 2,
879 "Item is partially readable")
881 SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG
,
882 SVN_ERR_AUTHZ_CATEGORY_START
+ 3,
883 "Invalid authz configuration")
885 /** @since New in 1.3 */
886 SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE
,
887 SVN_ERR_AUTHZ_CATEGORY_START
+ 4,
888 "Item is not writable")
892 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER
,
893 SVN_ERR_SVNDIFF_CATEGORY_START
+ 0,
894 "Svndiff data has invalid header")
896 SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW
,
897 SVN_ERR_SVNDIFF_CATEGORY_START
+ 1,
898 "Svndiff data contains corrupt window")
900 SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW
,
901 SVN_ERR_SVNDIFF_CATEGORY_START
+ 2,
902 "Svndiff data contains backward-sliding source view")
904 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS
,
905 SVN_ERR_SVNDIFF_CATEGORY_START
+ 3,
906 "Svndiff data contains invalid instruction")
908 SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END
,
909 SVN_ERR_SVNDIFF_CATEGORY_START
+ 4,
910 "Svndiff data ends unexpectedly")
912 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA
,
913 SVN_ERR_SVNDIFF_CATEGORY_START
+ 5,
914 "Svndiff compressed data is invalid")
916 /* libsvn_diff errors */
918 SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED
,
919 SVN_ERR_DIFF_CATEGORY_START
+ 0,
920 "Diff data source modified unexpectedly")
922 /* mod_dav_svn errors */
924 SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS
,
925 SVN_ERR_APMOD_CATEGORY_START
+ 0,
926 "Apache has no path to an SVN filesystem")
928 SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI
,
929 SVN_ERR_APMOD_CATEGORY_START
+ 1,
930 "Apache got a malformed URI")
932 SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND
,
933 SVN_ERR_APMOD_CATEGORY_START
+ 2,
934 "Activity not found")
936 SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE
,
937 SVN_ERR_APMOD_CATEGORY_START
+ 3,
938 "Baseline incorrect")
940 SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED
,
941 SVN_ERR_APMOD_CATEGORY_START
+ 4,
942 "Input/output error")
944 /* libsvn_client errors */
946 SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED
,
947 SVN_ERR_CLIENT_CATEGORY_START
+ 0,
948 "A path under version control is needed for this operation")
950 SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED
,
951 SVN_ERR_CLIENT_CATEGORY_START
+ 1,
952 "Repository access is needed for this operation")
954 SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION
,
955 SVN_ERR_CLIENT_CATEGORY_START
+ 2,
956 "Bogus revision information given")
958 SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL
,
959 SVN_ERR_CLIENT_CATEGORY_START
+ 3,
960 "Attempting to commit to a URL more than once")
962 SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE
,
963 SVN_ERR_CLIENT_CATEGORY_START
+ 4,
964 "Operation does not apply to binary file")
966 /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
967 in order to get gettext translatable strings */
968 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION
,
969 SVN_ERR_CLIENT_CATEGORY_START
+ 5,
970 "Format of an svn:externals property was invalid")
972 SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED
,
973 SVN_ERR_CLIENT_CATEGORY_START
+ 6,
974 "Attempting restricted operation for modified resource")
976 SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY
,
977 SVN_ERR_CLIENT_CATEGORY_START
+ 7,
978 "Operation does not apply to directory")
980 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE
,
981 SVN_ERR_CLIENT_CATEGORY_START
+ 8,
982 "Revision range is not allowed")
984 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION
,
985 SVN_ERR_CLIENT_CATEGORY_START
+ 9,
986 "Inter-repository relocation not allowed")
988 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
,
989 SVN_ERR_CLIENT_CATEGORY_START
+ 10,
990 "Author name cannot contain a newline")
992 SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME
,
993 SVN_ERR_CLIENT_CATEGORY_START
+ 11,
996 /** @since New in 1.1. */
997 SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES
,
998 SVN_ERR_CLIENT_CATEGORY_START
+ 12,
999 "Two versioned resources are unrelated")
1001 /** @since New in 1.2. */
1002 SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN
,
1003 SVN_ERR_CLIENT_CATEGORY_START
+ 13,
1004 "Path has no lock token")
1006 /** @since New in 1.5. */
1007 SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED
,
1008 SVN_ERR_CLIENT_CATEGORY_START
+ 14,
1009 "Operation does not support multiple sources")
1011 /** @since New in 1.5. */
1012 SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT
,
1013 SVN_ERR_CLIENT_CATEGORY_START
+ 15,
1014 "No versioned parent directories")
1016 /** @since New in 1.5. */
1017 SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE
,
1018 SVN_ERR_CLIENT_CATEGORY_START
+ 16,
1019 "Working copy and merge source not ready for reintegration")
1023 SVN_ERRDEF(SVN_ERR_BASE
,
1024 SVN_ERR_MISC_CATEGORY_START
+ 0,
1025 "A problem occurred; see later errors for details")
1027 SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE
,
1028 SVN_ERR_MISC_CATEGORY_START
+ 1,
1029 "Failure loading plugin")
1031 SVN_ERRDEF(SVN_ERR_MALFORMED_FILE
,
1032 SVN_ERR_MISC_CATEGORY_START
+ 2,
1035 SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA
,
1036 SVN_ERR_MISC_CATEGORY_START
+ 3,
1039 SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS
,
1040 SVN_ERR_MISC_CATEGORY_START
+ 4,
1041 "Incorrect parameters given")
1043 SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE
,
1044 SVN_ERR_MISC_CATEGORY_START
+ 5,
1045 "Tried a versioning operation on an unversioned resource")
1047 SVN_ERRDEF(SVN_ERR_TEST_FAILED
,
1048 SVN_ERR_MISC_CATEGORY_START
+ 6,
1051 SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE
,
1052 SVN_ERR_MISC_CATEGORY_START
+ 7,
1053 "Trying to use an unsupported feature")
1055 SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND
,
1056 SVN_ERR_MISC_CATEGORY_START
+ 8,
1057 "Unexpected or unknown property kind")
1059 SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET
,
1060 SVN_ERR_MISC_CATEGORY_START
+ 9,
1061 "Illegal target for the requested operation")
1063 SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT
,
1064 SVN_ERR_MISC_CATEGORY_START
+ 10,
1065 "MD5 checksum is missing")
1067 SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY
,
1068 SVN_ERR_MISC_CATEGORY_START
+ 11,
1069 "Directory needs to be empty but is not")
1071 SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM
,
1072 SVN_ERR_MISC_CATEGORY_START
+ 12,
1073 "Error calling external program")
1075 SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET
,
1076 SVN_ERR_MISC_CATEGORY_START
+ 13,
1077 "Python exception has been set with the error")
1079 SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH
,
1080 SVN_ERR_MISC_CATEGORY_START
+ 14,
1081 "A checksum mismatch occurred")
1083 SVN_ERRDEF(SVN_ERR_CANCELLED
,
1084 SVN_ERR_MISC_CATEGORY_START
+ 15,
1085 "The operation was interrupted")
1087 SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION
,
1088 SVN_ERR_MISC_CATEGORY_START
+ 16,
1089 "The specified diff option is not supported")
1091 SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND
,
1092 SVN_ERR_MISC_CATEGORY_START
+ 17,
1093 "Property not found")
1095 SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH
,
1096 SVN_ERR_MISC_CATEGORY_START
+ 18,
1097 "No auth file path available")
1099 /** @since New in 1.1. */
1100 SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH
,
1101 SVN_ERR_MISC_CATEGORY_START
+ 19,
1102 "Incompatible library version")
1104 /** @since New in 1.5. */
1105 SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR
,
1106 SVN_ERR_MISC_CATEGORY_START
+ 20,
1107 "Mergeinfo parse error")
1109 /** @since New in 1.5. */
1110 SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION
,
1111 SVN_ERR_MISC_CATEGORY_START
+ 21,
1112 "Cease invocation of this API")
1114 /** @since New in 1.5. */
1115 SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE
,
1116 SVN_ERR_MISC_CATEGORY_START
+ 22,
1117 "Error parsing revision number")
1119 /** @since New in 1.5. */
1120 SVN_ERRDEF(SVN_ERR_ITER_BREAK
,
1121 SVN_ERR_MISC_CATEGORY_START
+ 23,
1122 "Iteration terminated before completion")
1124 SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST
,
1125 SVN_ERR_MISC_CATEGORY_START
+ 24,
1126 "Unknown changelist")
1128 /* command-line client errors */
1130 SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR
,
1131 SVN_ERR_CL_CATEGORY_START
+ 0,
1132 "Error parsing arguments")
1134 SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS
,
1135 SVN_ERR_CL_CATEGORY_START
+ 1,
1136 "Not enough arguments provided")
1138 SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS
,
1139 SVN_ERR_CL_CATEGORY_START
+ 2,
1140 "Mutually exclusive arguments specified")
1142 SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED
,
1143 SVN_ERR_CL_CATEGORY_START
+ 3,
1144 "Attempted command in administrative dir")
1146 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE
,
1147 SVN_ERR_CL_CATEGORY_START
+ 4,
1148 "The log message file is under version control")
1150 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME
,
1151 SVN_ERR_CL_CATEGORY_START
+ 5,
1152 "The log message is a pathname")
1154 SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR
,
1155 SVN_ERR_CL_CATEGORY_START
+ 6,
1156 "Committing in directory scheduled for addition")
1158 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR
,
1159 SVN_ERR_CL_CATEGORY_START
+ 7,
1160 "No external editor available")
1162 SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE
,
1163 SVN_ERR_CL_CATEGORY_START
+ 8,
1164 "Something is wrong with the log message's contents")
1166 SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE
,
1167 SVN_ERR_CL_CATEGORY_START
+ 9,
1168 "A log message was given where none was necessary")
1170 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL
,
1171 SVN_ERR_CL_CATEGORY_START
+ 10,
1172 "No external merge tool available")
1177 #undef SVN_ERROR_START
1179 #undef SVN_ERROR_END
1183 #endif /* __cplusplus */
1185 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */