Change the format of the revprops block sent in svnserve for
[svn.git] / subversion / include / svn_error_codes.h
blobf52f804b69a0e69efb12b386f8a4ad09577364de
1 /**
2 * @copyright
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 * ====================================================================
16 * @endcopyright
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)
45 #include <apr.h>
46 #include <apr_errno.h> /* APR's error system */
48 #include "svn_props.h" /* For SVN_PROP_EXTERNALS. */
50 #ifdef __cplusplus
51 extern "C" {
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
74 #endif
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
78 apr_errno.h).
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
94 perturbed.
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. */
150 SVN_ERROR_START
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,
160 "Bogus filename")
162 SVN_ERRDEF(SVN_ERR_BAD_URL,
163 SVN_ERR_BAD_CATEGORY_START + 2,
164 "Bogus URL")
166 SVN_ERRDEF(SVN_ERR_BAD_DATE,
167 SVN_ERR_BAD_CATEGORY_START + 3,
168 "Bogus date")
170 SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE,
171 SVN_ERR_BAD_CATEGORY_START + 4,
172 "Bogus mime-type")
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,
194 "Bogus UUID")
196 /* xml errors */
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")
218 /* io errors */
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,
249 "Write error")
251 /* stream errors */
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")
265 /* node errors */
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")
275 /* entry errors */
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,
293 "Entry has no URL")
295 SVN_ERRDEF(SVN_ERR_ENTRY_ATTRIBUTE_INVALID,
296 SVN_ERR_ENTRY_CATEGORY_START + 5,
297 "Entry has an invalid attribute")
299 /* wc errors */
301 SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE,
302 SVN_ERR_WC_CATEGORY_START + 0,
303 "Obstructed update")
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,
331 "Invalid lock")
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,
400 "Invalid schedule")
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,
410 "Invalid switch")
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")
432 /* fs errors */
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,
552 "Berkeley DB error")
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,
569 "Unknown FS type")
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,
609 "Lock has expired")
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
622 * retains its name.
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")
648 /* repos errors */
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 /* ra_dav errors */
744 SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT,
745 SVN_ERR_RA_DAV_CATEGORY_START + 0,
746 "RA layer failed to init socket layer")
748 SVN_ERRDEF(SVN_ERR_RA_DAV_CREATING_REQUEST,
749 SVN_ERR_RA_DAV_CATEGORY_START + 1,
750 "RA layer failed to create HTTP request")
752 SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED,
753 SVN_ERR_RA_DAV_CATEGORY_START + 2,
754 "RA layer request failed")
756 SVN_ERRDEF(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED,
757 SVN_ERR_RA_DAV_CATEGORY_START + 3,
758 "RA layer didn't receive requested OPTIONS info")
760 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
761 SVN_ERR_RA_DAV_CATEGORY_START + 4,
762 "RA layer failed to fetch properties")
764 SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS,
765 SVN_ERR_RA_DAV_CATEGORY_START + 5,
766 "RA layer file already exists")
768 SVN_ERRDEF(SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE,
769 SVN_ERR_RA_DAV_CATEGORY_START + 6,
770 "Invalid configuration value")
772 SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND,
773 SVN_ERR_RA_DAV_CATEGORY_START + 7,
774 "HTTP Path Not Found")
776 SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED,
777 SVN_ERR_RA_DAV_CATEGORY_START + 8,
778 "Failed to execute WebDAV PROPPATCH")
780 /** @since New in 1.2. */
781 SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA,
782 SVN_ERR_RA_DAV_CATEGORY_START + 9,
783 "Malformed network data")
785 /** @since New in 1.3 */
786 SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,
787 SVN_ERR_RA_DAV_CATEGORY_START + 10,
788 "Unable to extract data from response header")
790 /** @since New in 1.5 */
791 SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
792 SVN_ERR_RA_DAV_CATEGORY_START + 11,
793 "Repository has been moved")
795 /* ra_local errors */
797 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
798 SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
799 "Couldn't find a repository")
801 SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
802 SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
803 "Couldn't open a repository")
804 /* ra_svn errors */
806 SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
807 SVN_ERR_RA_SVN_CATEGORY_START + 0,
808 "Special code for wrapping server errors to report to client")
810 SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
811 SVN_ERR_RA_SVN_CATEGORY_START + 1,
812 "Unknown svn protocol command")
814 SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED,
815 SVN_ERR_RA_SVN_CATEGORY_START + 2,
816 "Network connection closed unexpectedly")
818 SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
819 SVN_ERR_RA_SVN_CATEGORY_START + 3,
820 "Network read/write error")
822 SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA,
823 SVN_ERR_RA_SVN_CATEGORY_START + 4,
824 "Malformed network data")
826 SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
827 SVN_ERR_RA_SVN_CATEGORY_START + 5,
828 "Couldn't find a repository")
830 SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
831 SVN_ERR_RA_SVN_CATEGORY_START + 6,
832 "Client/server version mismatch")
834 /** @since New in 1.5. */
835 SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
836 SVN_ERR_RA_SVN_CATEGORY_START + 7,
837 "Cannot negotiate authentication mechanism")
839 /* libsvn_ra_serf errors */
840 /** @since New in 1.5. */
841 SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED,
842 SVN_ERR_RA_SERF_CATEGORY_START + 0,
843 "Initialization of SSPI library failed")
845 /* libsvn_auth errors */
847 /* this error can be used when an auth provider doesn't have
848 the creds, but no other "real" error occurred. */
849 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
850 SVN_ERR_AUTHN_CATEGORY_START + 0,
851 "Credential data unavailable")
853 SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
854 SVN_ERR_AUTHN_CATEGORY_START + 1,
855 "No authentication provider available")
857 SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
858 SVN_ERR_AUTHN_CATEGORY_START + 2,
859 "All authentication providers exhausted")
861 SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED,
862 SVN_ERR_AUTHN_CATEGORY_START + 3,
863 "All authentication providers exhausted")
865 /** @since New in 1.5. */
866 SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
867 SVN_ERR_AUTHN_CATEGORY_START + 4,
868 "Authentication failed")
870 /* authorization errors */
872 SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE,
873 SVN_ERR_AUTHZ_CATEGORY_START + 0,
874 "Read access denied for root of edit")
876 /** @since New in 1.1. */
877 SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
878 SVN_ERR_AUTHZ_CATEGORY_START + 1,
879 "Item is not readable")
881 /** @since New in 1.1. */
882 SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE,
883 SVN_ERR_AUTHZ_CATEGORY_START + 2,
884 "Item is partially readable")
886 SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
887 SVN_ERR_AUTHZ_CATEGORY_START + 3,
888 "Invalid authz configuration")
890 /** @since New in 1.3 */
891 SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
892 SVN_ERR_AUTHZ_CATEGORY_START + 4,
893 "Item is not writable")
895 /* svndiff errors */
897 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER,
898 SVN_ERR_SVNDIFF_CATEGORY_START + 0,
899 "Svndiff data has invalid header")
901 SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
902 SVN_ERR_SVNDIFF_CATEGORY_START + 1,
903 "Svndiff data contains corrupt window")
905 SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW,
906 SVN_ERR_SVNDIFF_CATEGORY_START + 2,
907 "Svndiff data contains backward-sliding source view")
909 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
910 SVN_ERR_SVNDIFF_CATEGORY_START + 3,
911 "Svndiff data contains invalid instruction")
913 SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END,
914 SVN_ERR_SVNDIFF_CATEGORY_START + 4,
915 "Svndiff data ends unexpectedly")
917 SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,
918 SVN_ERR_SVNDIFF_CATEGORY_START + 5,
919 "Svndiff compressed data is invalid")
921 /* libsvn_diff errors */
923 SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED,
924 SVN_ERR_DIFF_CATEGORY_START + 0,
925 "Diff data source modified unexpectedly")
927 /* mod_dav_svn errors */
929 SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS,
930 SVN_ERR_APMOD_CATEGORY_START + 0,
931 "Apache has no path to an SVN filesystem")
933 SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
934 SVN_ERR_APMOD_CATEGORY_START + 1,
935 "Apache got a malformed URI")
937 SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
938 SVN_ERR_APMOD_CATEGORY_START + 2,
939 "Activity not found")
941 SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
942 SVN_ERR_APMOD_CATEGORY_START + 3,
943 "Baseline incorrect")
945 SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED,
946 SVN_ERR_APMOD_CATEGORY_START + 4,
947 "Input/output error")
949 /* libsvn_client errors */
951 SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
952 SVN_ERR_CLIENT_CATEGORY_START + 0,
953 "A path under version control is needed for this operation")
955 SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
956 SVN_ERR_CLIENT_CATEGORY_START + 1,
957 "Repository access is needed for this operation")
959 SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
960 SVN_ERR_CLIENT_CATEGORY_START + 2,
961 "Bogus revision information given")
963 SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
964 SVN_ERR_CLIENT_CATEGORY_START + 3,
965 "Attempting to commit to a URL more than once")
967 SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
968 SVN_ERR_CLIENT_CATEGORY_START + 4,
969 "Operation does not apply to binary file")
971 /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
972 in order to get gettext translatable strings */
973 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
974 SVN_ERR_CLIENT_CATEGORY_START + 5,
975 "Format of an svn:externals property was invalid")
977 SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
978 SVN_ERR_CLIENT_CATEGORY_START + 6,
979 "Attempting restricted operation for modified resource")
981 SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
982 SVN_ERR_CLIENT_CATEGORY_START + 7,
983 "Operation does not apply to directory")
985 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
986 SVN_ERR_CLIENT_CATEGORY_START + 8,
987 "Revision range is not allowed")
989 SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION,
990 SVN_ERR_CLIENT_CATEGORY_START + 9,
991 "Inter-repository relocation not allowed")
993 SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
994 SVN_ERR_CLIENT_CATEGORY_START + 10,
995 "Author name cannot contain a newline")
997 SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
998 SVN_ERR_CLIENT_CATEGORY_START + 11,
999 "Bad property name")
1001 /** @since New in 1.1. */
1002 SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES,
1003 SVN_ERR_CLIENT_CATEGORY_START + 12,
1004 "Two versioned resources are unrelated")
1006 /** @since New in 1.2. */
1007 SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
1008 SVN_ERR_CLIENT_CATEGORY_START + 13,
1009 "Path has no lock token")
1011 /** @since New in 1.5. */
1012 SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED,
1013 SVN_ERR_CLIENT_CATEGORY_START + 14,
1014 "Operation does not support multiple sources")
1016 /** @since New in 1.5. */
1017 SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT,
1018 SVN_ERR_CLIENT_CATEGORY_START + 15,
1019 "No versioned parent directories")
1021 /** @since New in 1.5. */
1022 SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE,
1023 SVN_ERR_CLIENT_CATEGORY_START + 16,
1024 "Working copy and merge source not ready for reintegration")
1026 /* misc errors */
1028 SVN_ERRDEF(SVN_ERR_BASE,
1029 SVN_ERR_MISC_CATEGORY_START + 0,
1030 "A problem occurred; see later errors for details")
1032 SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
1033 SVN_ERR_MISC_CATEGORY_START + 1,
1034 "Failure loading plugin")
1036 SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
1037 SVN_ERR_MISC_CATEGORY_START + 2,
1038 "Malformed file")
1040 SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
1041 SVN_ERR_MISC_CATEGORY_START + 3,
1042 "Incomplete data")
1044 SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
1045 SVN_ERR_MISC_CATEGORY_START + 4,
1046 "Incorrect parameters given")
1048 SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
1049 SVN_ERR_MISC_CATEGORY_START + 5,
1050 "Tried a versioning operation on an unversioned resource")
1052 SVN_ERRDEF(SVN_ERR_TEST_FAILED,
1053 SVN_ERR_MISC_CATEGORY_START + 6,
1054 "Test failed")
1056 SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
1057 SVN_ERR_MISC_CATEGORY_START + 7,
1058 "Trying to use an unsupported feature")
1060 SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
1061 SVN_ERR_MISC_CATEGORY_START + 8,
1062 "Unexpected or unknown property kind")
1064 SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
1065 SVN_ERR_MISC_CATEGORY_START + 9,
1066 "Illegal target for the requested operation")
1068 SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
1069 SVN_ERR_MISC_CATEGORY_START + 10,
1070 "MD5 checksum is missing")
1072 SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
1073 SVN_ERR_MISC_CATEGORY_START + 11,
1074 "Directory needs to be empty but is not")
1076 SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
1077 SVN_ERR_MISC_CATEGORY_START + 12,
1078 "Error calling external program")
1080 SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
1081 SVN_ERR_MISC_CATEGORY_START + 13,
1082 "Python exception has been set with the error")
1084 SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
1085 SVN_ERR_MISC_CATEGORY_START + 14,
1086 "A checksum mismatch occurred")
1088 SVN_ERRDEF(SVN_ERR_CANCELLED,
1089 SVN_ERR_MISC_CATEGORY_START + 15,
1090 "The operation was interrupted")
1092 SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
1093 SVN_ERR_MISC_CATEGORY_START + 16,
1094 "The specified diff option is not supported")
1096 SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
1097 SVN_ERR_MISC_CATEGORY_START + 17,
1098 "Property not found")
1100 SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
1101 SVN_ERR_MISC_CATEGORY_START + 18,
1102 "No auth file path available")
1104 /** @since New in 1.1. */
1105 SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
1106 SVN_ERR_MISC_CATEGORY_START + 19,
1107 "Incompatible library version")
1109 /** @since New in 1.5. */
1110 SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
1111 SVN_ERR_MISC_CATEGORY_START + 20,
1112 "Mergeinfo parse error")
1114 /** @since New in 1.5. */
1115 SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
1116 SVN_ERR_MISC_CATEGORY_START + 21,
1117 "Cease invocation of this API")
1119 /** @since New in 1.5. */
1120 SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
1121 SVN_ERR_MISC_CATEGORY_START + 22,
1122 "Error parsing revision number")
1124 /** @since New in 1.5. */
1125 SVN_ERRDEF(SVN_ERR_ITER_BREAK,
1126 SVN_ERR_MISC_CATEGORY_START + 23,
1127 "Iteration terminated before completion")
1129 /** @since New in 1.5. */
1130 SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
1131 SVN_ERR_MISC_CATEGORY_START + 24,
1132 "Unknown changelist")
1134 /** @since New in 1.5. */
1135 SVN_ERRDEF(SVN_ERR_RESERVED_FILENAME_SPECIFIED,
1136 SVN_ERR_MISC_CATEGORY_START + 25,
1137 "Reserved directory name in command line arguments")
1139 /** @since New in 1.5. */
1140 SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
1141 SVN_ERR_MISC_CATEGORY_START + 26,
1142 "Inquiry about unknown capability")
1144 /* command-line client errors */
1146 SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
1147 SVN_ERR_CL_CATEGORY_START + 0,
1148 "Error parsing arguments")
1150 SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
1151 SVN_ERR_CL_CATEGORY_START + 1,
1152 "Not enough arguments provided")
1154 SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
1155 SVN_ERR_CL_CATEGORY_START + 2,
1156 "Mutually exclusive arguments specified")
1158 SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
1159 SVN_ERR_CL_CATEGORY_START + 3,
1160 "Attempted command in administrative dir")
1162 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
1163 SVN_ERR_CL_CATEGORY_START + 4,
1164 "The log message file is under version control")
1166 SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
1167 SVN_ERR_CL_CATEGORY_START + 5,
1168 "The log message is a pathname")
1170 SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
1171 SVN_ERR_CL_CATEGORY_START + 6,
1172 "Committing in directory scheduled for addition")
1174 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
1175 SVN_ERR_CL_CATEGORY_START + 7,
1176 "No external editor available")
1178 SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
1179 SVN_ERR_CL_CATEGORY_START + 8,
1180 "Something is wrong with the log message's contents")
1182 SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE,
1183 SVN_ERR_CL_CATEGORY_START + 9,
1184 "A log message was given where none was necessary")
1186 SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL,
1187 SVN_ERR_CL_CATEGORY_START + 10,
1188 "No external merge tool available")
1190 SVN_ERROR_END
1193 #undef SVN_ERROR_START
1194 #undef SVN_ERRDEF
1195 #undef SVN_ERROR_END
1197 #ifdef __cplusplus
1199 #endif /* __cplusplus */
1201 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */