OSDN Git Service

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