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