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

Generated on Wed May 13 12:42:08 2015 for Subversion by  doxygen 1.4.7