svn_error_codes.h

Go to the documentation of this file.
00001 /**
00002  * @copyright
00003  * ====================================================================
00004  *    Licensed to the Apache Software Foundation (ASF) under one
00005  *    or more contributor license agreements.  See the NOTICE file
00006  *    distributed with this work for additional information
00007  *    regarding copyright ownership.  The ASF licenses this file
00008  *    to you under the Apache License, Version 2.0 (the
00009  *    "License"); you may not use this file except in compliance
00010  *    with the License.  You may obtain a copy of the License at
00011  *
00012  *      http://www.apache.org/licenses/LICENSE-2.0
00013  *
00014  *    Unless required by applicable law or agreed to in writing,
00015  *    software distributed under the License is distributed on an
00016  *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00017  *    KIND, either express or implied.  See the License for the
00018  *    specific language governing permissions and limitations
00019  *    under the License.
00020  * ====================================================================
00021  * @endcopyright
00022  *
00023  * @file svn_error_codes.h
00024  * @brief Subversion error codes.
00025  */
00026 
00027 /* What's going on here?
00028 
00029    In order to define error codes and their associated description
00030    strings in the same place, we overload the SVN_ERRDEF() macro with
00031    two definitions below.  Both take two arguments, an error code name
00032    and a description string.  One definition of the macro just throws
00033    away the string and defines enumeration constants using the error
00034    code names -- that definition is used by the header file that
00035    exports error codes to the rest of Subversion.  The other
00036    definition creates a static table mapping the enum codes to their
00037    corresponding strings -- that definition is used by the C file that
00038    implements svn_strerror().
00039 
00040    The header and C files both include this file, using #defines to
00041    control which version of the macro they get.
00042 */
00043 
00044 
00045 /* Process this file if we're building an error array, or if we have
00046    not defined the enumerated constants yet.  */
00047 #if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED)
00048 
00049 /* Note: despite lacking double underscores in its name, the macro
00050    SVN_ERROR_BUILD_ARRAY is an implementation detail of Subversion and not
00051    a public API. */
00052 
00053 
00054 #include <apr_errno.h>     /* APR's error system */
00055 
00056 #ifdef __cplusplus
00057 extern "C" {
00058 #endif /* __cplusplus */
00059 
00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00061 
00062 #if defined(SVN_ERROR_BUILD_ARRAY)
00063 
00064 #define SVN_ERROR_START \
00065         static const err_defn error_table[] = { \
00066           { SVN_WARNING, "SVN_WARNING", "Warning" },
00067 #define SVN_ERRDEF(num, offset, str) { num, #num, str },
00068 #define SVN_ERROR_END { 0, NULL, NULL } };
00069 
00070 #elif !defined(SVN_ERROR_ENUM_DEFINED)
00071 
00072 #define SVN_ERROR_START \
00073         typedef enum svn_errno_t { \
00074           SVN_WARNING = APR_OS_START_USERERR + 1,
00075 #define SVN_ERRDEF(num, offset, str) /** str */ num = offset,
00076 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
00077 
00078 #define SVN_ERROR_ENUM_DEFINED
00079 
00080 #endif
00081 
00082 /* Define custom Subversion error numbers, in the range reserved for
00083    that in APR: from APR_OS_START_USERERR to APR_OS_START_SYSERR (see
00084    apr_errno.h).
00085 
00086    Error numbers are divided into categories of up to 5000 errors
00087    each.  Since we're dividing up the APR user error space, which has
00088    room for 500,000 errors, we can have up to 100 categories.
00089    Categories are fixed-size; if a category has fewer than 5000
00090    errors, then it just ends with a range of unused numbers.
00091 
00092    To maintain binary compatibility, please observe these guidelines:
00093 
00094       - When adding a new error, always add on the end of the
00095         appropriate category, so that the real values of existing
00096         errors are not changed.
00097 
00098       - When deleting an error, leave a placeholder comment indicating
00099         the offset, again so that the values of other errors are not
00100         perturbed.
00101 */
00102 
00103 #define SVN_ERR_CATEGORY_SIZE 5000
00104 
00105 /* Leave one category of room at the beginning, for SVN_WARNING and
00106    any other such beasts we might create in the future. */
00107 #define SVN_ERR_BAD_CATEGORY_START      (APR_OS_START_USERERR \
00108                                          + ( 1 * SVN_ERR_CATEGORY_SIZE))
00109 #define SVN_ERR_XML_CATEGORY_START      (APR_OS_START_USERERR \
00110                                          + ( 2 * SVN_ERR_CATEGORY_SIZE))
00111 #define SVN_ERR_IO_CATEGORY_START       (APR_OS_START_USERERR \
00112                                          + ( 3 * SVN_ERR_CATEGORY_SIZE))
00113 #define SVN_ERR_STREAM_CATEGORY_START   (APR_OS_START_USERERR \
00114                                          + ( 4 * SVN_ERR_CATEGORY_SIZE))
00115 #define SVN_ERR_NODE_CATEGORY_START     (APR_OS_START_USERERR \
00116                                          + ( 5 * SVN_ERR_CATEGORY_SIZE))
00117 #define SVN_ERR_ENTRY_CATEGORY_START    (APR_OS_START_USERERR \
00118                                          + ( 6 * SVN_ERR_CATEGORY_SIZE))
00119 #define SVN_ERR_WC_CATEGORY_START       (APR_OS_START_USERERR \
00120                                          + ( 7 * SVN_ERR_CATEGORY_SIZE))
00121 #define SVN_ERR_FS_CATEGORY_START       (APR_OS_START_USERERR \
00122                                          + ( 8 * SVN_ERR_CATEGORY_SIZE))
00123 #define SVN_ERR_REPOS_CATEGORY_START    (APR_OS_START_USERERR \
00124                                          + ( 9 * SVN_ERR_CATEGORY_SIZE))
00125 #define SVN_ERR_RA_CATEGORY_START       (APR_OS_START_USERERR \
00126                                          + (10 * SVN_ERR_CATEGORY_SIZE))
00127 #define SVN_ERR_RA_DAV_CATEGORY_START   (APR_OS_START_USERERR \
00128                                          + (11 * SVN_ERR_CATEGORY_SIZE))
00129 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
00130                                          + (12 * SVN_ERR_CATEGORY_SIZE))
00131 #define SVN_ERR_SVNDIFF_CATEGORY_START  (APR_OS_START_USERERR \
00132                                          + (13 * SVN_ERR_CATEGORY_SIZE))
00133 #define SVN_ERR_APMOD_CATEGORY_START    (APR_OS_START_USERERR \
00134                                          + (14 * SVN_ERR_CATEGORY_SIZE))
00135 #define SVN_ERR_CLIENT_CATEGORY_START   (APR_OS_START_USERERR \
00136                                          + (15 * SVN_ERR_CATEGORY_SIZE))
00137 #define SVN_ERR_MISC_CATEGORY_START     (APR_OS_START_USERERR \
00138                                          + (16 * SVN_ERR_CATEGORY_SIZE))
00139 #define SVN_ERR_CL_CATEGORY_START       (APR_OS_START_USERERR \
00140                                          + (17 * SVN_ERR_CATEGORY_SIZE))
00141 #define SVN_ERR_RA_SVN_CATEGORY_START   (APR_OS_START_USERERR \
00142                                          + (18 * SVN_ERR_CATEGORY_SIZE))
00143 #define SVN_ERR_AUTHN_CATEGORY_START    (APR_OS_START_USERERR \
00144                                          + (19 * SVN_ERR_CATEGORY_SIZE))
00145 #define SVN_ERR_AUTHZ_CATEGORY_START    (APR_OS_START_USERERR \
00146                                          + (20 * SVN_ERR_CATEGORY_SIZE))
00147 #define SVN_ERR_DIFF_CATEGORY_START     (APR_OS_START_USERERR \
00148                                          + (21 * SVN_ERR_CATEGORY_SIZE))
00149 #define SVN_ERR_RA_SERF_CATEGORY_START  (APR_OS_START_USERERR \
00150                                          + (22 * SVN_ERR_CATEGORY_SIZE))
00151 #define SVN_ERR_MALFUNC_CATEGORY_START  (APR_OS_START_USERERR \
00152                                          + (23 * SVN_ERR_CATEGORY_SIZE))
00153 
00154 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00155 
00156 /** Collection of Subversion error code values, located within the
00157  * APR user error space. */
00158 SVN_ERROR_START
00159 
00160   /* validation ("BAD_FOO") errors */
00161 
00162   SVN_ERRDEF(SVN_ERR_BAD_CONTAINING_POOL,
00163              SVN_ERR_BAD_CATEGORY_START + 0,
00164              "Bad parent pool passed to svn_make_pool()")
00165 
00166   SVN_ERRDEF(SVN_ERR_BAD_FILENAME,
00167              SVN_ERR_BAD_CATEGORY_START + 1,
00168              "Bogus filename")
00169 
00170   SVN_ERRDEF(SVN_ERR_BAD_URL,
00171              SVN_ERR_BAD_CATEGORY_START + 2,
00172              "Bogus URL")
00173 
00174   SVN_ERRDEF(SVN_ERR_BAD_DATE,
00175              SVN_ERR_BAD_CATEGORY_START + 3,
00176              "Bogus date")
00177 
00178   SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE,
00179              SVN_ERR_BAD_CATEGORY_START + 4,
00180              "Bogus mime-type")
00181 
00182   /** @since New in 1.5.
00183    *
00184    * Note that there was an unused slot sitting here at
00185    * SVN_ERR_BAD_CATEGORY_START + 5, so error codes after this aren't
00186    * necessarily "New in 1.5" just because they come later.
00187    */
00188   SVN_ERRDEF(SVN_ERR_BAD_PROPERTY_VALUE,
00189              SVN_ERR_BAD_CATEGORY_START + 5,
00190              "Wrong or unexpected property value")
00191 
00192   SVN_ERRDEF(SVN_ERR_BAD_VERSION_FILE_FORMAT,
00193              SVN_ERR_BAD_CATEGORY_START + 6,
00194              "Version file format not correct")
00195 
00196   SVN_ERRDEF(SVN_ERR_BAD_RELATIVE_PATH,
00197              SVN_ERR_BAD_CATEGORY_START + 7,
00198              "Path is not an immediate child of the specified directory")
00199 
00200   SVN_ERRDEF(SVN_ERR_BAD_UUID,
00201              SVN_ERR_BAD_CATEGORY_START + 8,
00202              "Bogus UUID")
00203 
00204   /** @since New in 1.6. */
00205   SVN_ERRDEF(SVN_ERR_BAD_CONFIG_VALUE,
00206              SVN_ERR_BAD_CATEGORY_START + 9,
00207              "Invalid configuration value")
00208 
00209   SVN_ERRDEF(SVN_ERR_BAD_SERVER_SPECIFICATION,
00210              SVN_ERR_BAD_CATEGORY_START + 10,
00211              "Bogus server specification")
00212 
00213   SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_KIND,
00214              SVN_ERR_BAD_CATEGORY_START + 11,
00215              "Unsupported checksum type")
00216 
00217   SVN_ERRDEF(SVN_ERR_BAD_CHECKSUM_PARSE,
00218              SVN_ERR_BAD_CATEGORY_START + 12,
00219              "Invalid character in hex checksum")
00220 
00221   /** @since New in 1.7. */
00222   SVN_ERRDEF(SVN_ERR_BAD_TOKEN,
00223              SVN_ERR_BAD_CATEGORY_START + 13,
00224              "Unknown string value of token")
00225 
00226   /** @since New in 1.7. */
00227   SVN_ERRDEF(SVN_ERR_BAD_CHANGELIST_NAME,
00228              SVN_ERR_BAD_CATEGORY_START + 14,
00229              "Invalid changelist name")
00230 
00231   /** @since New in 1.8. */
00232   SVN_ERRDEF(SVN_ERR_BAD_ATOMIC,
00233              SVN_ERR_BAD_CATEGORY_START + 15,
00234              "Invalid atomic")
00235 
00236   /** @since New in 1.9. */
00237   SVN_ERRDEF(SVN_ERR_BAD_COMPRESSION_METHOD,
00238              SVN_ERR_BAD_CATEGORY_START + 16,
00239              "Invalid compression method")
00240 
00241   /* xml errors */
00242 
00243   SVN_ERRDEF(SVN_ERR_XML_ATTRIB_NOT_FOUND,
00244              SVN_ERR_XML_CATEGORY_START + 0,
00245              "No such XML tag attribute")
00246 
00247   SVN_ERRDEF(SVN_ERR_XML_MISSING_ANCESTRY,
00248              SVN_ERR_XML_CATEGORY_START + 1,
00249              "<delta-pkg> is missing ancestry")
00250 
00251   SVN_ERRDEF(SVN_ERR_XML_UNKNOWN_ENCODING,
00252              SVN_ERR_XML_CATEGORY_START + 2,
00253              "Unrecognized binary data encoding; can't decode")
00254 
00255   SVN_ERRDEF(SVN_ERR_XML_MALFORMED,
00256              SVN_ERR_XML_CATEGORY_START + 3,
00257              "XML data was not well-formed")
00258 
00259   SVN_ERRDEF(SVN_ERR_XML_UNESCAPABLE_DATA,
00260              SVN_ERR_XML_CATEGORY_START + 4,
00261              "Data cannot be safely XML-escaped")
00262 
00263   /** @since New in 1.9. */
00264   SVN_ERRDEF(SVN_ERR_XML_UNEXPECTED_ELEMENT,
00265              SVN_ERR_XML_CATEGORY_START + 5,
00266              "Unexpected XML element found")
00267 
00268   /* io errors */
00269 
00270   SVN_ERRDEF(SVN_ERR_IO_INCONSISTENT_EOL,
00271              SVN_ERR_IO_CATEGORY_START + 0,
00272              "Inconsistent line ending style")
00273 
00274   SVN_ERRDEF(SVN_ERR_IO_UNKNOWN_EOL,
00275              SVN_ERR_IO_CATEGORY_START + 1,
00276              "Unrecognized line ending style")
00277 
00278   /** @deprecated Unused, slated for removal in the next major release. */
00279   SVN_ERRDEF(SVN_ERR_IO_CORRUPT_EOL,
00280              SVN_ERR_IO_CATEGORY_START + 2,
00281              "Line endings other than expected")
00282 
00283   SVN_ERRDEF(SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED,
00284              SVN_ERR_IO_CATEGORY_START + 3,
00285              "Ran out of unique names")
00286 
00287   /** @deprecated Unused, slated for removal in the next major release. */
00288   SVN_ERRDEF(SVN_ERR_IO_PIPE_FRAME_ERROR,
00289              SVN_ERR_IO_CATEGORY_START + 4,
00290              "Framing error in pipe protocol")
00291 
00292   /** @deprecated Unused, slated for removal in the next major release. */
00293   SVN_ERRDEF(SVN_ERR_IO_PIPE_READ_ERROR,
00294              SVN_ERR_IO_CATEGORY_START + 5,
00295              "Read error in pipe")
00296 
00297   SVN_ERRDEF(SVN_ERR_IO_WRITE_ERROR,
00298              SVN_ERR_IO_CATEGORY_START + 6,
00299              "Write error")
00300 
00301   /** @since New in 1.7. */
00302   SVN_ERRDEF(SVN_ERR_IO_PIPE_WRITE_ERROR,
00303              SVN_ERR_IO_CATEGORY_START + 7,
00304              "Write error in pipe")
00305 
00306   /* stream errors */
00307 
00308   SVN_ERRDEF(SVN_ERR_STREAM_UNEXPECTED_EOF,
00309              SVN_ERR_STREAM_CATEGORY_START + 0,
00310              "Unexpected EOF on stream")
00311 
00312   SVN_ERRDEF(SVN_ERR_STREAM_MALFORMED_DATA,
00313              SVN_ERR_STREAM_CATEGORY_START + 1,
00314              "Malformed stream data")
00315 
00316   SVN_ERRDEF(SVN_ERR_STREAM_UNRECOGNIZED_DATA,
00317              SVN_ERR_STREAM_CATEGORY_START + 2,
00318              "Unrecognized stream data")
00319 
00320   /** @since New in 1.7. */
00321   SVN_ERRDEF(SVN_ERR_STREAM_SEEK_NOT_SUPPORTED,
00322              SVN_ERR_STREAM_CATEGORY_START + 3,
00323              "Stream doesn't support seeking")
00324 
00325   /** Since New in 1.9. */
00326   SVN_ERRDEF(SVN_ERR_STREAM_NOT_SUPPORTED,
00327              SVN_ERR_STREAM_CATEGORY_START + 4,
00328              "Stream doesn't support this capability")
00329 
00330   /* node errors */
00331 
00332   SVN_ERRDEF(SVN_ERR_NODE_UNKNOWN_KIND,
00333              SVN_ERR_NODE_CATEGORY_START + 0,
00334              "Unknown svn_node_kind")
00335 
00336   SVN_ERRDEF(SVN_ERR_NODE_UNEXPECTED_KIND,
00337              SVN_ERR_NODE_CATEGORY_START + 1,
00338              "Unexpected node kind found")
00339 
00340   /* entry errors */
00341 
00342   SVN_ERRDEF(SVN_ERR_ENTRY_NOT_FOUND,
00343              SVN_ERR_ENTRY_CATEGORY_START + 0,
00344              "Can't find an entry")
00345 
00346   /* UNUSED error slot:                    + 1 */
00347 
00348   SVN_ERRDEF(SVN_ERR_ENTRY_EXISTS,
00349              SVN_ERR_ENTRY_CATEGORY_START + 2,
00350              "Entry already exists")
00351 
00352   SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_REVISION,
00353              SVN_ERR_ENTRY_CATEGORY_START + 3,
00354              "Entry has no revision")
00355 
00356   SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_URL,
00357              SVN_ERR_ENTRY_CATEGORY_START + 4,
00358              "Entry has no URL")
00359 
00360   SVN_ERRDEF(SVN_ERR_ENTRY_ATTRIBUTE_INVALID,
00361              SVN_ERR_ENTRY_CATEGORY_START + 5,
00362              "Entry has an invalid attribute")
00363 
00364   SVN_ERRDEF(SVN_ERR_ENTRY_FORBIDDEN,
00365              SVN_ERR_ENTRY_CATEGORY_START + 6,
00366              "Can't create an entry for a forbidden name")
00367 
00368   /* wc errors */
00369 
00370   SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE,
00371              SVN_ERR_WC_CATEGORY_START + 0,
00372              "Obstructed update")
00373 
00374   /** @deprecated Unused, slated for removal in the next major release. */
00375   SVN_ERRDEF(SVN_ERR_WC_UNWIND_MISMATCH,
00376              SVN_ERR_WC_CATEGORY_START + 1,
00377              "Mismatch popping the WC unwind stack")
00378 
00379   /** @deprecated Unused, slated for removal in the next major release. */
00380   SVN_ERRDEF(SVN_ERR_WC_UNWIND_EMPTY,
00381              SVN_ERR_WC_CATEGORY_START + 2,
00382              "Attempt to pop empty WC unwind stack")
00383 
00384   /** @deprecated Unused, slated for removal in the next major release. */
00385   SVN_ERRDEF(SVN_ERR_WC_UNWIND_NOT_EMPTY,
00386              SVN_ERR_WC_CATEGORY_START + 3,
00387              "Attempt to unlock with non-empty unwind stack")
00388 
00389   SVN_ERRDEF(SVN_ERR_WC_LOCKED,
00390              SVN_ERR_WC_CATEGORY_START + 4,
00391              "Attempted to lock an already-locked dir")
00392 
00393   SVN_ERRDEF(SVN_ERR_WC_NOT_LOCKED,
00394              SVN_ERR_WC_CATEGORY_START + 5,
00395              "Working copy not locked; this is probably a bug, please report")
00396 
00397   /** @deprecated Unused, slated for removal in the next major release. */
00398   SVN_ERRDEF(SVN_ERR_WC_INVALID_LOCK,
00399              SVN_ERR_WC_CATEGORY_START + 6,
00400              "Invalid lock")
00401 
00402   /** @since New in 1.7. Previously this error number was used by
00403    * #SVN_ERR_WC_NOT_DIRECTORY, which is now an alias for this error. */
00404   SVN_ERRDEF(SVN_ERR_WC_NOT_WORKING_COPY,
00405              SVN_ERR_WC_CATEGORY_START + 7,
00406              "Path is not a working copy directory")
00407 
00408   /** @deprecated Provided for backward compatibility with the 1.6 API.
00409    * Use #SVN_ERR_WC_NOT_WORKING_COPY. */
00410   SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY,
00411              SVN_ERR_WC_NOT_WORKING_COPY,
00412              "Path is not a working copy directory")
00413 
00414   SVN_ERRDEF(SVN_ERR_WC_NOT_FILE,
00415              SVN_ERR_WC_CATEGORY_START + 8,
00416              "Path is not a working copy file")
00417 
00418   SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG,
00419              SVN_ERR_WC_CATEGORY_START + 9,
00420              "Problem running log")
00421 
00422   SVN_ERRDEF(SVN_ERR_WC_PATH_NOT_FOUND,
00423              SVN_ERR_WC_CATEGORY_START + 10,
00424              "Can't find a working copy path")
00425 
00426   SVN_ERRDEF(SVN_ERR_WC_NOT_UP_TO_DATE,
00427              SVN_ERR_WC_CATEGORY_START + 11,
00428              "Working copy is not up-to-date")
00429 
00430   SVN_ERRDEF(SVN_ERR_WC_LEFT_LOCAL_MOD,
00431              SVN_ERR_WC_CATEGORY_START + 12,
00432              "Left locally modified or unversioned files")
00433 
00434   SVN_ERRDEF(SVN_ERR_WC_SCHEDULE_CONFLICT,
00435              SVN_ERR_WC_CATEGORY_START + 13,
00436              "Unmergeable scheduling requested on an entry")
00437 
00438   SVN_ERRDEF(SVN_ERR_WC_PATH_FOUND,
00439              SVN_ERR_WC_CATEGORY_START + 14,
00440              "Found a working copy path")
00441 
00442   SVN_ERRDEF(SVN_ERR_WC_FOUND_CONFLICT,
00443              SVN_ERR_WC_CATEGORY_START + 15,
00444              "A conflict in the working copy obstructs the current operation")
00445 
00446   SVN_ERRDEF(SVN_ERR_WC_CORRUPT,
00447              SVN_ERR_WC_CATEGORY_START + 16,
00448              "Working copy is corrupt")
00449 
00450   SVN_ERRDEF(SVN_ERR_WC_CORRUPT_TEXT_BASE,
00451              SVN_ERR_WC_CATEGORY_START + 17,
00452              "Working copy text base is corrupt")
00453 
00454   SVN_ERRDEF(SVN_ERR_WC_NODE_KIND_CHANGE,
00455              SVN_ERR_WC_CATEGORY_START + 18,
00456              "Cannot change node kind")
00457 
00458   SVN_ERRDEF(SVN_ERR_WC_INVALID_OP_ON_CWD,
00459              SVN_ERR_WC_CATEGORY_START + 19,
00460              "Invalid operation on the current working directory")
00461 
00462   SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG_START,
00463              SVN_ERR_WC_CATEGORY_START + 20,
00464              "Problem on first log entry in a working copy")
00465 
00466   SVN_ERRDEF(SVN_ERR_WC_UNSUPPORTED_FORMAT,
00467              SVN_ERR_WC_CATEGORY_START + 21,
00468              "Unsupported working copy format")
00469 
00470   SVN_ERRDEF(SVN_ERR_WC_BAD_PATH,
00471              SVN_ERR_WC_CATEGORY_START + 22,
00472              "Path syntax not supported in this context")
00473 
00474   /** @since New in 1.2. */
00475   SVN_ERRDEF(SVN_ERR_WC_INVALID_SCHEDULE,
00476              SVN_ERR_WC_CATEGORY_START + 23,
00477              "Invalid schedule")
00478 
00479   /** @since New in 1.3. */
00480   SVN_ERRDEF(SVN_ERR_WC_INVALID_RELOCATION,
00481              SVN_ERR_WC_CATEGORY_START + 24,
00482              "Invalid relocation")
00483 
00484   /** @since New in 1.3. */
00485   SVN_ERRDEF(SVN_ERR_WC_INVALID_SWITCH,
00486              SVN_ERR_WC_CATEGORY_START + 25,
00487              "Invalid switch")
00488 
00489   /** @since New in 1.5. */
00490   SVN_ERRDEF(SVN_ERR_WC_MISMATCHED_CHANGELIST,
00491              SVN_ERR_WC_CATEGORY_START + 26,
00492              "Changelist doesn't match")
00493 
00494   /** @since New in 1.5. */
00495   SVN_ERRDEF(SVN_ERR_WC_CONFLICT_RESOLVER_FAILURE,
00496              SVN_ERR_WC_CATEGORY_START + 27,
00497              "Conflict resolution failed")
00498 
00499   SVN_ERRDEF(SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND,
00500              SVN_ERR_WC_CATEGORY_START + 28,
00501              "Failed to locate 'copyfrom' path in working copy")
00502 
00503   /** @since New in 1.5.
00504    * @deprecated Provided for backward compatibility with the 1.6 API.
00505    * This event is not an error, and is now reported
00506    * via the standard notification mechanism instead. */
00507   SVN_ERRDEF(SVN_ERR_WC_CHANGELIST_MOVE,
00508              SVN_ERR_WC_CATEGORY_START + 29,
00509              "Moving a path from one changelist to another")
00510 
00511   /** @since New in 1.6. */
00512   SVN_ERRDEF(SVN_ERR_WC_CANNOT_DELETE_FILE_EXTERNAL,
00513              SVN_ERR_WC_CATEGORY_START + 30,
00514              "Cannot delete a file external")
00515 
00516   /** @since New in 1.6. */
00517   SVN_ERRDEF(SVN_ERR_WC_CANNOT_MOVE_FILE_EXTERNAL,
00518              SVN_ERR_WC_CATEGORY_START + 31,
00519              "Cannot move a file external")
00520 
00521   /** @since New in 1.7. */
00522   SVN_ERRDEF(SVN_ERR_WC_DB_ERROR,
00523              SVN_ERR_WC_CATEGORY_START + 32,
00524              "Something's amiss with the wc sqlite database")
00525 
00526   /** @since New in 1.7. */
00527   SVN_ERRDEF(SVN_ERR_WC_MISSING,
00528              SVN_ERR_WC_CATEGORY_START + 33,
00529              "The working copy is missing")
00530 
00531   /** @since New in 1.7. */
00532   SVN_ERRDEF(SVN_ERR_WC_NOT_SYMLINK,
00533              SVN_ERR_WC_CATEGORY_START + 34,
00534              "The specified node is not a symlink")
00535 
00536   /** @since New in 1.7. */
00537   SVN_ERRDEF(SVN_ERR_WC_PATH_UNEXPECTED_STATUS,
00538              SVN_ERR_WC_CATEGORY_START + 35,
00539              "The specified path has an unexpected status")
00540 
00541   /** @since New in 1.7. */
00542   SVN_ERRDEF(SVN_ERR_WC_UPGRADE_REQUIRED,
00543              SVN_ERR_WC_CATEGORY_START + 36,
00544              "The working copy needs to be upgraded")
00545 
00546   /** @since New in 1.7. */
00547   SVN_ERRDEF(SVN_ERR_WC_CLEANUP_REQUIRED,
00548              SVN_ERR_WC_CATEGORY_START + 37,
00549              "Previous operation has not finished; "
00550              "run 'cleanup' if it was interrupted")
00551 
00552   /** @since New in 1.7. */
00553   SVN_ERRDEF(SVN_ERR_WC_INVALID_OPERATION_DEPTH,
00554              SVN_ERR_WC_CATEGORY_START + 38,
00555              "The operation cannot be performed with the specified depth")
00556 
00557   /** @since New in 1.7. */
00558   SVN_ERRDEF(SVN_ERR_WC_PATH_ACCESS_DENIED,
00559              SVN_ERR_WC_CATEGORY_START + 39,
00560              "Couldn't open a working copy file because access was denied")
00561 
00562   /** @since New in 1.8. */
00563   SVN_ERRDEF(SVN_ERR_WC_MIXED_REVISIONS,
00564              SVN_ERR_WC_CATEGORY_START + 40,
00565              "Mixed-revision working copy was found but not expected")
00566 
00567   /** @since New in 1.8 */
00568   SVN_ERRDEF(SVN_ERR_WC_DUPLICATE_EXTERNALS_TARGET,
00569              SVN_ERR_WC_CATEGORY_START + 41,
00570              "Duplicate targets in svn:externals property")
00571 
00572   /* fs errors */
00573 
00574   SVN_ERRDEF(SVN_ERR_FS_GENERAL,
00575              SVN_ERR_FS_CATEGORY_START + 0,
00576              "General filesystem error")
00577 
00578   SVN_ERRDEF(SVN_ERR_FS_CLEANUP,
00579              SVN_ERR_FS_CATEGORY_START + 1,
00580              "Error closing filesystem")
00581 
00582   SVN_ERRDEF(SVN_ERR_FS_ALREADY_OPEN,
00583              SVN_ERR_FS_CATEGORY_START + 2,
00584              "Filesystem is already open")
00585 
00586   SVN_ERRDEF(SVN_ERR_FS_NOT_OPEN,
00587              SVN_ERR_FS_CATEGORY_START + 3,
00588              "Filesystem is not open")
00589 
00590   SVN_ERRDEF(SVN_ERR_FS_CORRUPT,
00591              SVN_ERR_FS_CATEGORY_START + 4,
00592              "Filesystem is corrupt")
00593 
00594   SVN_ERRDEF(SVN_ERR_FS_PATH_SYNTAX,
00595              SVN_ERR_FS_CATEGORY_START + 5,
00596              "Invalid filesystem path syntax")
00597 
00598   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REVISION,
00599              SVN_ERR_FS_CATEGORY_START + 6,
00600              "Invalid filesystem revision number")
00601 
00602   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_TRANSACTION,
00603              SVN_ERR_FS_CATEGORY_START + 7,
00604              "Invalid filesystem transaction name")
00605 
00606   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_ENTRY,
00607              SVN_ERR_FS_CATEGORY_START + 8,
00608              "Filesystem directory has no such entry")
00609 
00610   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REPRESENTATION,
00611              SVN_ERR_FS_CATEGORY_START + 9,
00612              "Filesystem has no such representation")
00613 
00614   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_STRING,
00615              SVN_ERR_FS_CATEGORY_START + 10,
00616              "Filesystem has no such string")
00617 
00618   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_COPY,
00619              SVN_ERR_FS_CATEGORY_START + 11,
00620              "Filesystem has no such copy")
00621 
00622   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_MUTABLE,
00623              SVN_ERR_FS_CATEGORY_START + 12,
00624              "The specified transaction is not mutable")
00625 
00626   SVN_ERRDEF(SVN_ERR_FS_NOT_FOUND,
00627              SVN_ERR_FS_CATEGORY_START + 13,
00628              "Filesystem has no item")
00629 
00630   SVN_ERRDEF(SVN_ERR_FS_ID_NOT_FOUND,
00631              SVN_ERR_FS_CATEGORY_START + 14,
00632              "Filesystem has no such node-rev-id")
00633 
00634   SVN_ERRDEF(SVN_ERR_FS_NOT_ID,
00635              SVN_ERR_FS_CATEGORY_START + 15,
00636              "String does not represent a node or node-rev-id")
00637 
00638   SVN_ERRDEF(SVN_ERR_FS_NOT_DIRECTORY,
00639              SVN_ERR_FS_CATEGORY_START + 16,
00640              "Name does not refer to a filesystem directory")
00641 
00642   SVN_ERRDEF(SVN_ERR_FS_NOT_FILE,
00643              SVN_ERR_FS_CATEGORY_START + 17,
00644              "Name does not refer to a filesystem file")
00645 
00646   SVN_ERRDEF(SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,
00647              SVN_ERR_FS_CATEGORY_START + 18,
00648              "Name is not a single path component")
00649 
00650   SVN_ERRDEF(SVN_ERR_FS_NOT_MUTABLE,
00651              SVN_ERR_FS_CATEGORY_START + 19,
00652              "Attempt to change immutable filesystem node")
00653 
00654   SVN_ERRDEF(SVN_ERR_FS_ALREADY_EXISTS,
00655              SVN_ERR_FS_CATEGORY_START + 20,
00656              "Item already exists in filesystem")
00657 
00658   SVN_ERRDEF(SVN_ERR_FS_ROOT_DIR,
00659              SVN_ERR_FS_CATEGORY_START + 21,
00660              "Attempt to remove or recreate fs root dir")
00661 
00662   SVN_ERRDEF(SVN_ERR_FS_NOT_TXN_ROOT,
00663              SVN_ERR_FS_CATEGORY_START + 22,
00664              "Object is not a transaction root")
00665 
00666   SVN_ERRDEF(SVN_ERR_FS_NOT_REVISION_ROOT,
00667              SVN_ERR_FS_CATEGORY_START + 23,
00668              "Object is not a revision root")
00669 
00670   SVN_ERRDEF(SVN_ERR_FS_CONFLICT,
00671              SVN_ERR_FS_CATEGORY_START + 24,
00672              "Merge conflict during commit")
00673 
00674   SVN_ERRDEF(SVN_ERR_FS_REP_CHANGED,
00675              SVN_ERR_FS_CATEGORY_START + 25,
00676              "A representation vanished or changed between reads")
00677 
00678   SVN_ERRDEF(SVN_ERR_FS_REP_NOT_MUTABLE,
00679              SVN_ERR_FS_CATEGORY_START + 26,
00680              "Tried to change an immutable representation")
00681 
00682   SVN_ERRDEF(SVN_ERR_FS_MALFORMED_SKEL,
00683              SVN_ERR_FS_CATEGORY_START + 27,
00684              "Malformed skeleton data")
00685 
00686   SVN_ERRDEF(SVN_ERR_FS_TXN_OUT_OF_DATE,
00687              SVN_ERR_FS_CATEGORY_START + 28,
00688              "Transaction is out of date")
00689 
00690   SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB,
00691              SVN_ERR_FS_CATEGORY_START + 29,
00692              "Berkeley DB error")
00693 
00694   SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB_DEADLOCK,
00695              SVN_ERR_FS_CATEGORY_START + 30,
00696              "Berkeley DB deadlock error")
00697 
00698   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_DEAD,
00699              SVN_ERR_FS_CATEGORY_START + 31,
00700              "Transaction is dead")
00701 
00702   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_DEAD,
00703              SVN_ERR_FS_CATEGORY_START + 32,
00704              "Transaction is not dead")
00705 
00706   /** @since New in 1.1. */
00707   SVN_ERRDEF(SVN_ERR_FS_UNKNOWN_FS_TYPE,
00708              SVN_ERR_FS_CATEGORY_START + 33,
00709              "Unknown FS type")
00710 
00711   /** @since New in 1.2. */
00712   SVN_ERRDEF(SVN_ERR_FS_NO_USER,
00713              SVN_ERR_FS_CATEGORY_START + 34,
00714              "No user associated with filesystem")
00715 
00716   /** @since New in 1.2. */
00717   SVN_ERRDEF(SVN_ERR_FS_PATH_ALREADY_LOCKED,
00718              SVN_ERR_FS_CATEGORY_START + 35,
00719              "Path is already locked")
00720 
00721   /** @since New in 1.2. */
00722   SVN_ERRDEF(SVN_ERR_FS_PATH_NOT_LOCKED,
00723              SVN_ERR_FS_CATEGORY_START + 36,
00724              "Path is not locked")
00725 
00726   /** @since New in 1.2. */
00727   SVN_ERRDEF(SVN_ERR_FS_BAD_LOCK_TOKEN,
00728              SVN_ERR_FS_CATEGORY_START + 37,
00729              "Lock token is incorrect")
00730 
00731   /** @since New in 1.2. */
00732   SVN_ERRDEF(SVN_ERR_FS_NO_LOCK_TOKEN,
00733              SVN_ERR_FS_CATEGORY_START + 38,
00734              "No lock token provided")
00735 
00736   /** @since New in 1.2. */
00737   SVN_ERRDEF(SVN_ERR_FS_LOCK_OWNER_MISMATCH,
00738              SVN_ERR_FS_CATEGORY_START + 39,
00739              "Username does not match lock owner")
00740 
00741   /** @since New in 1.2. */
00742   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_LOCK,
00743              SVN_ERR_FS_CATEGORY_START + 40,
00744              "Filesystem has no such lock")
00745 
00746   /** @since New in 1.2. */
00747   SVN_ERRDEF(SVN_ERR_FS_LOCK_EXPIRED,
00748              SVN_ERR_FS_CATEGORY_START + 41,
00749              "Lock has expired")
00750 
00751   /** @since New in 1.2. */
00752   SVN_ERRDEF(SVN_ERR_FS_OUT_OF_DATE,
00753              SVN_ERR_FS_CATEGORY_START + 42,
00754              "Item is out of date")
00755 
00756   /**@since New in 1.2.
00757    *
00758    * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION.  To avoid
00759    * confusion with "versions" (i.e., releases) of Subversion, we've
00760    * started calling this the "format" number instead.  The old
00761    * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
00762    * retains its name.
00763    */
00764   SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_FORMAT,
00765              SVN_ERR_FS_CATEGORY_START + 43,
00766              "Unsupported FS format")
00767 
00768   /** @since New in 1.5. */
00769   SVN_ERRDEF(SVN_ERR_FS_REP_BEING_WRITTEN,
00770              SVN_ERR_FS_CATEGORY_START + 44,
00771              "Representation is being written")
00772 
00773   /** @since New in 1.5. */
00774   SVN_ERRDEF(SVN_ERR_FS_TXN_NAME_TOO_LONG,
00775              SVN_ERR_FS_CATEGORY_START + 45,
00776              "The generated transaction name is too long")
00777 
00778   /** @since New in 1.5. */
00779   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_NODE_ORIGIN,
00780              SVN_ERR_FS_CATEGORY_START + 46,
00781              "Filesystem has no such node origin record")
00782 
00783   /** @since New in 1.5. */
00784   SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_UPGRADE,
00785              SVN_ERR_FS_CATEGORY_START + 47,
00786              "Filesystem upgrade is not supported")
00787 
00788   /** @since New in 1.6. */
00789   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_CHECKSUM_REP,
00790              SVN_ERR_FS_CATEGORY_START + 48,
00791              "Filesystem has no such checksum-representation index record")
00792 
00793   /** @since New in 1.7. */
00794   SVN_ERRDEF(SVN_ERR_FS_PROP_BASEVALUE_MISMATCH,
00795              SVN_ERR_FS_CATEGORY_START + 49,
00796              "Property value in filesystem differs from the provided "
00797              "base value")
00798 
00799   /** @since New in 1.8. */
00800   SVN_ERRDEF(SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION,
00801              SVN_ERR_FS_CATEGORY_START + 50,
00802              "The filesystem editor completion process was not followed")
00803 
00804   /** @since New in 1.8. */
00805   SVN_ERRDEF(SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE,
00806              SVN_ERR_FS_CATEGORY_START + 51,
00807              "A packed revprop could not be read")
00808 
00809   /** @since New in 1.8. */
00810   SVN_ERRDEF(SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE,
00811              SVN_ERR_FS_CATEGORY_START + 52,
00812              "Could not initialize the revprop caching infrastructure.")
00813 
00814   /** @since New in 1.9. */
00815   SVN_ERRDEF(SVN_ERR_FS_MALFORMED_TXN_ID,
00816              SVN_ERR_FS_CATEGORY_START + 53,
00817              "Malformed transaction ID string.")
00818 
00819   /** @since New in 1.9. */
00820   SVN_ERRDEF(SVN_ERR_FS_ITEM_INDEX_CORRUPTION,
00821              SVN_ERR_FS_CATEGORY_START + 54,
00822              "Corrupt index file.")
00823 
00824   /** @since New in 1.9. */
00825   SVN_ERRDEF(SVN_ERR_FS_ITEM_INDEX_REVISION,
00826              SVN_ERR_FS_CATEGORY_START + 55,
00827              "Revision not covered by index.")
00828 
00829   /** @since New in 1.9. */
00830   SVN_ERRDEF(SVN_ERR_FS_ITEM_INDEX_OVERFLOW,
00831              SVN_ERR_FS_CATEGORY_START + 56,
00832              "Item index too large for this revision.")
00833 
00834   /** @since New in 1.9. */
00835   SVN_ERRDEF(SVN_ERR_FS_CONTAINER_INDEX,
00836              SVN_ERR_FS_CATEGORY_START + 57,
00837              "Container index out of range.")
00838 
00839   /** @since New in 1.9. */
00840   SVN_ERRDEF(SVN_ERR_FS_ITEM_INDEX_INCONSISTENT,
00841              SVN_ERR_FS_CATEGORY_START + 58,
00842              "Index files are inconsistent.")
00843 
00844   /** @since New in 1.9. */
00845   SVN_ERRDEF(SVN_ERR_FS_AMBIGUOUS_MOVE,
00846              SVN_ERR_FS_CATEGORY_START + 59,
00847              "Ambiguous move")
00848 
00849   /** @since New in 1.9. */
00850   SVN_ERRDEF(SVN_ERR_FS_INCOMPLETE_MOVE,
00851              SVN_ERR_FS_CATEGORY_START + 60,
00852              "Move without a suitable deletion")
00853 
00854   /* repos errors */
00855 
00856   SVN_ERRDEF(SVN_ERR_REPOS_LOCKED,
00857              SVN_ERR_REPOS_CATEGORY_START + 0,
00858              "The repository is locked, perhaps for db recovery")
00859 
00860   SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE,
00861              SVN_ERR_REPOS_CATEGORY_START + 1,
00862              "A repository hook failed")
00863 
00864   SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS,
00865              SVN_ERR_REPOS_CATEGORY_START + 2,
00866              "Incorrect arguments supplied")
00867 
00868   SVN_ERRDEF(SVN_ERR_REPOS_NO_DATA_FOR_REPORT,
00869              SVN_ERR_REPOS_CATEGORY_START + 3,
00870              "A report cannot be generated because no data was supplied")
00871 
00872   SVN_ERRDEF(SVN_ERR_REPOS_BAD_REVISION_REPORT,
00873              SVN_ERR_REPOS_CATEGORY_START + 4,
00874              "Bogus revision report")
00875 
00876   /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT.  To avoid
00877    * confusion with "versions" (i.e., releases) of Subversion, we
00878    * started using the word "format" instead of "version".  However,
00879    * this error code's name predates that decision.
00880    */
00881   SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_VERSION,
00882              SVN_ERR_REPOS_CATEGORY_START + 5,
00883              "Unsupported repository version")
00884 
00885   SVN_ERRDEF(SVN_ERR_REPOS_DISABLED_FEATURE,
00886              SVN_ERR_REPOS_CATEGORY_START + 6,
00887              "Disabled repository feature")
00888 
00889   SVN_ERRDEF(SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED,
00890              SVN_ERR_REPOS_CATEGORY_START + 7,
00891              "Error running post-commit hook")
00892 
00893   /** @since New in 1.2. */
00894   SVN_ERRDEF(SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED,
00895              SVN_ERR_REPOS_CATEGORY_START + 8,
00896              "Error running post-lock hook")
00897 
00898   /** @since New in 1.2. */
00899   SVN_ERRDEF(SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED,
00900              SVN_ERR_REPOS_CATEGORY_START + 9,
00901              "Error running post-unlock hook")
00902 
00903   /** @since New in 1.5. */
00904   SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_UPGRADE,
00905              SVN_ERR_REPOS_CATEGORY_START + 10,
00906              "Repository upgrade is not supported")
00907 
00908   /** @since New in 1.9. */
00909   SVN_ERRDEF(SVN_ERR_REPOS_CORRUPTED,
00910              SVN_ERR_REPOS_CATEGORY_START + 11,
00911              "Repository is corrupt")
00912 
00913   /* generic RA errors */
00914 
00915   SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL,
00916              SVN_ERR_RA_CATEGORY_START + 0,
00917              "Bad URL passed to RA layer")
00918 
00919   SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED,
00920              SVN_ERR_RA_CATEGORY_START + 1,
00921              "Authorization failed")
00922 
00923   SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH,
00924              SVN_ERR_RA_CATEGORY_START + 2,
00925              "Unknown authorization method")
00926 
00927   SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED,
00928              SVN_ERR_RA_CATEGORY_START + 3,
00929              "Repository access method not implemented")
00930 
00931   SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE,
00932              SVN_ERR_RA_CATEGORY_START + 4,
00933              "Item is out of date")
00934 
00935   SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID,
00936              SVN_ERR_RA_CATEGORY_START + 5,
00937              "Repository has no UUID")
00938 
00939   SVN_ERRDEF(SVN_ERR_RA_UNSUPPORTED_ABI_VERSION,
00940              SVN_ERR_RA_CATEGORY_START + 6,
00941              "Unsupported RA plugin ABI version")
00942 
00943   /** @since New in 1.2. */
00944   SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED,
00945              SVN_ERR_RA_CATEGORY_START + 7,
00946              "Path is not locked")
00947 
00948   /** @since New in 1.5. */
00949   SVN_ERRDEF(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED,
00950              SVN_ERR_RA_CATEGORY_START + 8,
00951              "Server can only replay from the root of a repository")
00952 
00953   /** @since New in 1.5. */
00954   SVN_ERRDEF(SVN_ERR_RA_UUID_MISMATCH,
00955              SVN_ERR_RA_CATEGORY_START + 9,
00956              "Repository UUID does not match expected UUID")
00957 
00958   /** @since New in 1.6. */
00959   SVN_ERRDEF(SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH,
00960              SVN_ERR_RA_CATEGORY_START + 10,
00961              "Repository root URL does not match expected root URL")
00962 
00963   /** @since New in 1.7. */
00964   SVN_ERRDEF(SVN_ERR_RA_SESSION_URL_MISMATCH,
00965              SVN_ERR_RA_CATEGORY_START + 11,
00966              "Session URL does not match expected session URL")
00967 
00968   /** @since New in 1.8. */
00969   SVN_ERRDEF(SVN_ERR_RA_CANNOT_CREATE_TUNNEL,
00970              SVN_ERR_RA_CATEGORY_START + 12,
00971              "Can't create tunnel")
00972 
00973   /** @since New in 1.9. */
00974   SVN_ERRDEF(SVN_ERR_RA_CANNOT_CREATE_SESSION,
00975              SVN_ERR_RA_CATEGORY_START + 13,
00976              "Can't create session")
00977 
00978   /* ra_dav errors */
00979 
00980   SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT,
00981              SVN_ERR_RA_DAV_CATEGORY_START + 0,
00982              "RA layer failed to init socket layer")
00983 
00984   SVN_ERRDEF(SVN_ERR_RA_DAV_CREATING_REQUEST,
00985              SVN_ERR_RA_DAV_CATEGORY_START + 1,
00986              "RA layer failed to create HTTP request")
00987 
00988   SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED,
00989              SVN_ERR_RA_DAV_CATEGORY_START + 2,
00990              "RA layer request failed")
00991 
00992   SVN_ERRDEF(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED,
00993              SVN_ERR_RA_DAV_CATEGORY_START + 3,
00994              "RA layer didn't receive requested OPTIONS info")
00995 
00996   SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
00997              SVN_ERR_RA_DAV_CATEGORY_START + 4,
00998              "RA layer failed to fetch properties")
00999 
01000   SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS,
01001              SVN_ERR_RA_DAV_CATEGORY_START + 5,
01002              "RA layer file already exists")
01003 
01004   /** @deprecated To improve consistency between ra layers, this error code
01005       is replaced by SVN_ERR_BAD_CONFIG_VALUE.
01006       Slated for removal in the next major release. */
01007   SVN_ERRDEF(SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE,
01008              SVN_ERR_RA_DAV_CATEGORY_START + 6,
01009              "Invalid configuration value")
01010 
01011   /** @deprecated To improve consistency between ra layers, this error code
01012       is replaced in ra_serf by SVN_ERR_FS_NOT_FOUND.
01013       Slated for removal in the next major release. */
01014   SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND,
01015              SVN_ERR_RA_DAV_CATEGORY_START + 7,
01016              "HTTP Path Not Found")
01017 
01018   SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED,
01019              SVN_ERR_RA_DAV_CATEGORY_START + 8,
01020              "Failed to execute WebDAV PROPPATCH")
01021 
01022   /** @since New in 1.2. */
01023   SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA,
01024              SVN_ERR_RA_DAV_CATEGORY_START + 9,
01025              "Malformed network data")
01026 
01027   /** @since New in 1.3 */
01028   SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,
01029              SVN_ERR_RA_DAV_CATEGORY_START + 10,
01030              "Unable to extract data from response header")
01031 
01032   /** @since New in 1.5 */
01033   SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
01034              SVN_ERR_RA_DAV_CATEGORY_START + 11,
01035              "Repository has been moved")
01036 
01037   /** @since New in 1.7 */
01038   SVN_ERRDEF(SVN_ERR_RA_DAV_CONN_TIMEOUT,
01039              SVN_ERR_RA_DAV_CATEGORY_START + 12,
01040              "Connection timed out")
01041 
01042   /** @since New in 1.6 */
01043   SVN_ERRDEF(SVN_ERR_RA_DAV_FORBIDDEN,
01044              SVN_ERR_RA_DAV_CATEGORY_START + 13,
01045              "URL access forbidden for unknown reason")
01046 
01047   /** @since New in 1.9 */
01048   SVN_ERRDEF(SVN_ERR_RA_DAV_PRECONDITION_FAILED,
01049              SVN_ERR_RA_DAV_CATEGORY_START + 14,
01050              "The server state conflicts with the requested preconditions")
01051 
01052   /* ra_local errors */
01053 
01054   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
01055              SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
01056              "Couldn't find a repository")
01057 
01058   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
01059              SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
01060              "Couldn't open a repository")
01061 
01062   /* svndiff errors */
01063 
01064   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER,
01065              SVN_ERR_SVNDIFF_CATEGORY_START + 0,
01066              "Svndiff data has invalid header")
01067 
01068   SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
01069              SVN_ERR_SVNDIFF_CATEGORY_START + 1,
01070              "Svndiff data contains corrupt window")
01071 
01072   SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW,
01073              SVN_ERR_SVNDIFF_CATEGORY_START + 2,
01074              "Svndiff data contains backward-sliding source view")
01075 
01076   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
01077              SVN_ERR_SVNDIFF_CATEGORY_START + 3,
01078              "Svndiff data contains invalid instruction")
01079 
01080   SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END,
01081              SVN_ERR_SVNDIFF_CATEGORY_START + 4,
01082              "Svndiff data ends unexpectedly")
01083 
01084   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,
01085              SVN_ERR_SVNDIFF_CATEGORY_START + 5,
01086              "Svndiff compressed data is invalid")
01087 
01088   /* mod_dav_svn errors */
01089 
01090   SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS,
01091              SVN_ERR_APMOD_CATEGORY_START + 0,
01092              "Apache has no path to an SVN filesystem")
01093 
01094   SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
01095              SVN_ERR_APMOD_CATEGORY_START + 1,
01096              "Apache got a malformed URI")
01097 
01098   SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
01099              SVN_ERR_APMOD_CATEGORY_START + 2,
01100              "Activity not found")
01101 
01102   SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
01103              SVN_ERR_APMOD_CATEGORY_START + 3,
01104              "Baseline incorrect")
01105 
01106   SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED,
01107              SVN_ERR_APMOD_CATEGORY_START + 4,
01108              "Input/output error")
01109 
01110   /* libsvn_client errors */
01111 
01112   SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
01113              SVN_ERR_CLIENT_CATEGORY_START + 0,
01114              "A path under version control is needed for this operation")
01115 
01116   SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
01117              SVN_ERR_CLIENT_CATEGORY_START + 1,
01118              "Repository access is needed for this operation")
01119 
01120   SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
01121              SVN_ERR_CLIENT_CATEGORY_START + 2,
01122              "Bogus revision information given")
01123 
01124   SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
01125              SVN_ERR_CLIENT_CATEGORY_START + 3,
01126              "Attempting to commit to a URL more than once")
01127 
01128   SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
01129              SVN_ERR_CLIENT_CATEGORY_START + 4,
01130              "Operation does not apply to binary file")
01131 
01132        /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
01133          in order to get gettext translatable strings */
01134   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
01135              SVN_ERR_CLIENT_CATEGORY_START + 5,
01136              "Format of an svn:externals property was invalid")
01137 
01138   SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
01139              SVN_ERR_CLIENT_CATEGORY_START + 6,
01140              "Attempting restricted operation for modified resource")
01141 
01142   SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
01143              SVN_ERR_CLIENT_CATEGORY_START + 7,
01144              "Operation does not apply to directory")
01145 
01146   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
01147              SVN_ERR_CLIENT_CATEGORY_START + 8,
01148              "Revision range is not allowed")
01149 
01150   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION,
01151              SVN_ERR_CLIENT_CATEGORY_START + 9,
01152              "Inter-repository relocation not allowed")
01153 
01154   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
01155              SVN_ERR_CLIENT_CATEGORY_START + 10,
01156              "Author name cannot contain a newline")
01157 
01158   SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
01159              SVN_ERR_CLIENT_CATEGORY_START + 11,
01160              "Bad property name")
01161 
01162   /** @since New in 1.1. */
01163   SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES,
01164              SVN_ERR_CLIENT_CATEGORY_START + 12,
01165              "Two versioned resources are unrelated")
01166 
01167   /** @since New in 1.2. */
01168   SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
01169              SVN_ERR_CLIENT_CATEGORY_START + 13,
01170              "Path has no lock token")
01171 
01172   /** @since New in 1.5. */
01173   SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED,
01174              SVN_ERR_CLIENT_CATEGORY_START + 14,
01175              "Operation does not support multiple sources")
01176 
01177   /** @since New in 1.5. */
01178   SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT,
01179              SVN_ERR_CLIENT_CATEGORY_START + 15,
01180              "No versioned parent directories")
01181 
01182   /** @since New in 1.5. */
01183   SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE,
01184              SVN_ERR_CLIENT_CATEGORY_START + 16,
01185              "Working copy and merge source not ready for reintegration")
01186 
01187   /** @since New in 1.6. */
01188   SVN_ERRDEF(SVN_ERR_CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED,
01189              SVN_ERR_CLIENT_CATEGORY_START + 17,
01190              "A file external cannot overwrite an existing versioned item")
01191 
01192   /** @since New in 1.7. */
01193   SVN_ERRDEF(SVN_ERR_CLIENT_PATCH_BAD_STRIP_COUNT,
01194              SVN_ERR_CLIENT_CATEGORY_START + 18,
01195              "Invalid path component strip count specified")
01196 
01197   /** @since New in 1.7. */
01198   SVN_ERRDEF(SVN_ERR_CLIENT_CYCLE_DETECTED,
01199              SVN_ERR_CLIENT_CATEGORY_START + 19,
01200              "Detected a cycle while processing the operation")
01201 
01202   /** @since New in 1.7. */
01203   SVN_ERRDEF(SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED,
01204              SVN_ERR_CLIENT_CATEGORY_START + 20,
01205              "Working copy and merge source not ready for reintegration")
01206 
01207   /** @since New in 1.7. */
01208   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_MERGEINFO_NO_MERGETRACKING,
01209              SVN_ERR_CLIENT_CATEGORY_START + 21,
01210              "Invalid mergeinfo detected in merge target")
01211 
01212   /** @since New in 1.7. */
01213   SVN_ERRDEF(SVN_ERR_CLIENT_NO_LOCK_TOKEN,
01214              SVN_ERR_CLIENT_CATEGORY_START + 22,
01215              "Can't perform this operation without a valid lock token")
01216 
01217   /** @since New in 1.7. */
01218   SVN_ERRDEF(SVN_ERR_CLIENT_FORBIDDEN_BY_SERVER,
01219              SVN_ERR_CLIENT_CATEGORY_START + 23,
01220              "The operation is forbidden by the server")
01221 
01222   /* misc errors */
01223 
01224   SVN_ERRDEF(SVN_ERR_BASE,
01225              SVN_ERR_MISC_CATEGORY_START + 0,
01226              "A problem occurred; see other errors for details")
01227 
01228   SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
01229              SVN_ERR_MISC_CATEGORY_START + 1,
01230              "Failure loading plugin")
01231 
01232   SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
01233              SVN_ERR_MISC_CATEGORY_START + 2,
01234              "Malformed file")
01235 
01236   SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
01237              SVN_ERR_MISC_CATEGORY_START + 3,
01238              "Incomplete data")
01239 
01240   SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
01241              SVN_ERR_MISC_CATEGORY_START + 4,
01242              "Incorrect parameters given")
01243 
01244   SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
01245              SVN_ERR_MISC_CATEGORY_START + 5,
01246              "Tried a versioning operation on an unversioned resource")
01247 
01248   SVN_ERRDEF(SVN_ERR_TEST_FAILED,
01249              SVN_ERR_MISC_CATEGORY_START + 6,
01250              "Test failed")
01251 
01252   SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
01253              SVN_ERR_MISC_CATEGORY_START + 7,
01254              "Trying to use an unsupported feature")
01255 
01256   SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
01257              SVN_ERR_MISC_CATEGORY_START + 8,
01258              "Unexpected or unknown property kind")
01259 
01260   SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
01261              SVN_ERR_MISC_CATEGORY_START + 9,
01262              "Illegal target for the requested operation")
01263 
01264   SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
01265              SVN_ERR_MISC_CATEGORY_START + 10,
01266              "MD5 checksum is missing")
01267 
01268   SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
01269              SVN_ERR_MISC_CATEGORY_START + 11,
01270              "Directory needs to be empty but is not")
01271 
01272   SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
01273              SVN_ERR_MISC_CATEGORY_START + 12,
01274              "Error calling external program")
01275 
01276   SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
01277              SVN_ERR_MISC_CATEGORY_START + 13,
01278              "Python exception has been set with the error")
01279 
01280   SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
01281              SVN_ERR_MISC_CATEGORY_START + 14,
01282              "A checksum mismatch occurred")
01283 
01284   SVN_ERRDEF(SVN_ERR_CANCELLED,
01285              SVN_ERR_MISC_CATEGORY_START + 15,
01286              "The operation was interrupted")
01287 
01288   SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
01289              SVN_ERR_MISC_CATEGORY_START + 16,
01290              "The specified diff option is not supported")
01291 
01292   SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
01293              SVN_ERR_MISC_CATEGORY_START + 17,
01294              "Property not found")
01295 
01296   SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
01297              SVN_ERR_MISC_CATEGORY_START + 18,
01298              "No auth file path available")
01299 
01300   /** @since New in 1.1. */
01301   SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
01302              SVN_ERR_MISC_CATEGORY_START + 19,
01303              "Incompatible library version")
01304 
01305   /** @since New in 1.5. */
01306   SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
01307              SVN_ERR_MISC_CATEGORY_START + 20,
01308              "Mergeinfo parse error")
01309 
01310   /** @since New in 1.5. */
01311   SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
01312              SVN_ERR_MISC_CATEGORY_START + 21,
01313              "Cease invocation of this API")
01314 
01315   /** @since New in 1.5. */
01316   SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
01317              SVN_ERR_MISC_CATEGORY_START + 22,
01318              "Error parsing revision number")
01319 
01320   /** @since New in 1.5. */
01321   SVN_ERRDEF(SVN_ERR_ITER_BREAK,
01322              SVN_ERR_MISC_CATEGORY_START + 23,
01323              "Iteration terminated before completion")
01324 
01325   /** @since New in 1.5. */
01326   SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
01327              SVN_ERR_MISC_CATEGORY_START + 24,
01328              "Unknown changelist")
01329 
01330   /** @since New in 1.5. */
01331   SVN_ERRDEF(SVN_ERR_RESERVED_FILENAME_SPECIFIED,
01332              SVN_ERR_MISC_CATEGORY_START + 25,
01333              "Reserved directory name in command line arguments")
01334 
01335   /** @since New in 1.5. */
01336   SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
01337              SVN_ERR_MISC_CATEGORY_START + 26,
01338              "Inquiry about unknown capability")
01339 
01340   /** @since New in 1.6. */
01341   SVN_ERRDEF(SVN_ERR_TEST_SKIPPED,
01342              SVN_ERR_MISC_CATEGORY_START + 27,
01343              "Test skipped")
01344 
01345   /** @since New in 1.6. */
01346   SVN_ERRDEF(SVN_ERR_NO_APR_MEMCACHE,
01347              SVN_ERR_MISC_CATEGORY_START + 28,
01348              "APR memcache library not available")
01349 
01350   /** @since New in 1.6. */
01351   SVN_ERRDEF(SVN_ERR_ATOMIC_INIT_FAILURE,
01352              SVN_ERR_MISC_CATEGORY_START + 29,
01353              "Couldn't perform atomic initialization")
01354 
01355   /** @since New in 1.6. */
01356   SVN_ERRDEF(SVN_ERR_SQLITE_ERROR,
01357              SVN_ERR_MISC_CATEGORY_START + 30,
01358              "SQLite error")
01359 
01360   /** @since New in 1.6. */
01361   SVN_ERRDEF(SVN_ERR_SQLITE_READONLY,
01362              SVN_ERR_MISC_CATEGORY_START + 31,
01363              "Attempted to write to readonly SQLite db")
01364 
01365   /** @since New in 1.6.
01366    * @deprecated the internal sqlite support code does not manage schemas
01367    * any longer.  */
01368   SVN_ERRDEF(SVN_ERR_SQLITE_UNSUPPORTED_SCHEMA,
01369              SVN_ERR_MISC_CATEGORY_START + 32,
01370              "Unsupported schema found in SQLite db")
01371 
01372   /** @since New in 1.7. */
01373   SVN_ERRDEF(SVN_ERR_SQLITE_BUSY,
01374              SVN_ERR_MISC_CATEGORY_START + 33,
01375              "The SQLite db is busy")
01376 
01377   /** @since New in 1.7. */
01378   SVN_ERRDEF(SVN_ERR_SQLITE_RESETTING_FOR_ROLLBACK,
01379              SVN_ERR_MISC_CATEGORY_START + 34,
01380              "SQLite busy at transaction rollback; "
01381              "resetting all busy SQLite statements to allow rollback")
01382 
01383   /** @since New in 1.7. */
01384   SVN_ERRDEF(SVN_ERR_SQLITE_CONSTRAINT,
01385              SVN_ERR_MISC_CATEGORY_START + 35,
01386              "Constraint error in SQLite db")
01387 
01388   /** @since New in 1.8. */
01389   SVN_ERRDEF(SVN_ERR_TOO_MANY_MEMCACHED_SERVERS,
01390              SVN_ERR_MISC_CATEGORY_START + 36,
01391              "Too many memcached servers configured")
01392 
01393   /** @since New in 1.8. */
01394   SVN_ERRDEF(SVN_ERR_MALFORMED_VERSION_STRING,
01395              SVN_ERR_MISC_CATEGORY_START + 37,
01396              "Failed to parse version number string")
01397 
01398   /** @since New in 1.8. */
01399   SVN_ERRDEF(SVN_ERR_CORRUPTED_ATOMIC_STORAGE,
01400              SVN_ERR_MISC_CATEGORY_START + 38,
01401              "Atomic data storage is corrupt")
01402 
01403   /** @since New in 1.8. */
01404   SVN_ERRDEF(SVN_ERR_UTF8PROC_ERROR,
01405              SVN_ERR_MISC_CATEGORY_START + 39,
01406              "utf8proc library error")
01407 
01408   /** @since New in 1.8. */
01409   SVN_ERRDEF(SVN_ERR_UTF8_GLOB,
01410              SVN_ERR_MISC_CATEGORY_START + 40,
01411              "Bad arguments to SQL operators GLOB or LIKE")
01412 
01413   /** @since New in 1.9. */
01414   SVN_ERRDEF(SVN_ERR_CORRUPT_PACKED_DATA,
01415              SVN_ERR_MISC_CATEGORY_START + 41,
01416              "Packed data stream is corrupt")
01417 
01418   /** @since New in 1.9. */
01419   SVN_ERRDEF(SVN_ERR_COMPOSED_ERROR,
01420              SVN_ERR_MISC_CATEGORY_START + 42,
01421              "Additional errors:")
01422 
01423   /* command-line client errors */
01424 
01425   SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
01426              SVN_ERR_CL_CATEGORY_START + 0,
01427              "Error parsing arguments")
01428 
01429   SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
01430              SVN_ERR_CL_CATEGORY_START + 1,
01431              "Not enough arguments provided")
01432 
01433   SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
01434              SVN_ERR_CL_CATEGORY_START + 2,
01435              "Mutually exclusive arguments specified")
01436 
01437   SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
01438              SVN_ERR_CL_CATEGORY_START + 3,
01439              "Attempted command in administrative dir")
01440 
01441   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
01442              SVN_ERR_CL_CATEGORY_START + 4,
01443              "The log message file is under version control")
01444 
01445   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
01446              SVN_ERR_CL_CATEGORY_START + 5,
01447              "The log message is a pathname")
01448 
01449   SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
01450              SVN_ERR_CL_CATEGORY_START + 6,
01451              "Committing in directory scheduled for addition")
01452 
01453   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
01454              SVN_ERR_CL_CATEGORY_START + 7,
01455              "No external editor available")
01456 
01457   SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
01458              SVN_ERR_CL_CATEGORY_START + 8,
01459              "Something is wrong with the log message's contents")
01460 
01461   SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE,
01462              SVN_ERR_CL_CATEGORY_START + 9,
01463              "A log message was given where none was necessary")
01464 
01465   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL,
01466              SVN_ERR_CL_CATEGORY_START + 10,
01467              "No external merge tool available")
01468 
01469   SVN_ERRDEF(SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS,
01470              SVN_ERR_CL_CATEGORY_START + 11,
01471              "Failed processing one or more externals definitions")
01472 
01473   /* ra_svn errors */
01474 
01475   SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
01476              SVN_ERR_RA_SVN_CATEGORY_START + 0,
01477              "Special code for wrapping server errors to report to client")
01478 
01479   SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
01480              SVN_ERR_RA_SVN_CATEGORY_START + 1,
01481              "Unknown svn protocol command")
01482 
01483   SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED,
01484              SVN_ERR_RA_SVN_CATEGORY_START + 2,
01485              "Network connection closed unexpectedly")
01486 
01487   SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
01488              SVN_ERR_RA_SVN_CATEGORY_START + 3,
01489              "Network read/write error")
01490 
01491   SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA,
01492              SVN_ERR_RA_SVN_CATEGORY_START + 4,
01493              "Malformed network data")
01494 
01495   SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
01496              SVN_ERR_RA_SVN_CATEGORY_START + 5,
01497              "Couldn't find a repository")
01498 
01499   SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
01500              SVN_ERR_RA_SVN_CATEGORY_START + 6,
01501              "Client/server version mismatch")
01502 
01503   /** @since New in 1.5. */
01504   SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
01505              SVN_ERR_RA_SVN_CATEGORY_START + 7,
01506              "Cannot negotiate authentication mechanism")
01507 
01508   /** @since New in 1.7  */
01509   SVN_ERRDEF(SVN_ERR_RA_SVN_EDIT_ABORTED,
01510              SVN_ERR_RA_SVN_CATEGORY_START + 8,
01511              "Editor drive was aborted")
01512 
01513   /* libsvn_auth errors */
01514 
01515        /* this error can be used when an auth provider doesn't have
01516           the creds, but no other "real" error occurred. */
01517   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
01518              SVN_ERR_AUTHN_CATEGORY_START + 0,
01519              "Credential data unavailable")
01520 
01521   SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
01522              SVN_ERR_AUTHN_CATEGORY_START + 1,
01523              "No authentication provider available")
01524 
01525   SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
01526              SVN_ERR_AUTHN_CATEGORY_START + 2,
01527              "All authentication providers exhausted")
01528 
01529   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED,
01530              SVN_ERR_AUTHN_CATEGORY_START + 3,
01531              "Credentials not saved")
01532 
01533   /** @since New in 1.5. */
01534   SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
01535              SVN_ERR_AUTHN_CATEGORY_START + 4,
01536              "Authentication failed")
01537 
01538   /* authorization errors */
01539 
01540   SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE,
01541              SVN_ERR_AUTHZ_CATEGORY_START + 0,
01542              "Read access denied for root of edit")
01543 
01544   /** @since New in 1.1. */
01545   SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
01546              SVN_ERR_AUTHZ_CATEGORY_START + 1,
01547              "Item is not readable")
01548 
01549   /** @since New in 1.1. */
01550   SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE,
01551              SVN_ERR_AUTHZ_CATEGORY_START + 2,
01552              "Item is partially readable")
01553 
01554   SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
01555              SVN_ERR_AUTHZ_CATEGORY_START + 3,
01556              "Invalid authz configuration")
01557 
01558   /** @since New in 1.3 */
01559   SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
01560              SVN_ERR_AUTHZ_CATEGORY_START + 4,
01561              "Item is not writable")
01562 
01563 
01564   /* libsvn_diff errors */
01565 
01566   SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED,
01567              SVN_ERR_DIFF_CATEGORY_START + 0,
01568              "Diff data source modified unexpectedly")
01569 
01570   /* libsvn_ra_serf errors */
01571   /** @since New in 1.5. */
01572   SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED,
01573              SVN_ERR_RA_SERF_CATEGORY_START + 0,
01574              "Initialization of SSPI library failed")
01575   /** @since New in 1.5. */
01576   SVN_ERRDEF(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED,
01577              SVN_ERR_RA_SERF_CATEGORY_START + 1,
01578              "Server SSL certificate untrusted")
01579   /** @since New in 1.7.
01580       @deprecated GSSAPI now handled by serf rather than libsvn_ra_serf. */
01581   SVN_ERRDEF(SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED,
01582              SVN_ERR_RA_SERF_CATEGORY_START + 2,
01583              "Initialization of the GSSAPI context failed")
01584 
01585   /** @since New in 1.7. */
01586   SVN_ERRDEF(SVN_ERR_RA_SERF_WRAPPED_ERROR,
01587              SVN_ERR_RA_SERF_CATEGORY_START + 3,
01588              "While handling serf response:")
01589 
01590   /* malfunctions such as assertion failures */
01591 
01592   SVN_ERRDEF(SVN_ERR_ASSERTION_FAIL,
01593              SVN_ERR_MALFUNC_CATEGORY_START + 0,
01594              "Assertion failure")
01595 
01596   SVN_ERRDEF(SVN_ERR_ASSERTION_ONLY_TRACING_LINKS,
01597              SVN_ERR_MALFUNC_CATEGORY_START + 1,
01598              "No non-tracing links found in the error chain")
01599 
01600 SVN_ERROR_END
01601 
01602 
01603 #undef SVN_ERROR_START
01604 #undef SVN_ERRDEF
01605 #undef SVN_ERROR_END
01606 
01607 #ifdef __cplusplus
01608 }
01609 #endif /* __cplusplus */
01610 
01611 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */

Generated on Mon Mar 17 15:46:33 2014 for Subversion by  doxygen 1.4.7