svn_error_codes.h

Go to the documentation of this file.
00001 /**
00002  * @copyright
00003  * ====================================================================
00004  * Copyright (c) 2000-2007 CollabNet.  All rights reserved.
00005  *
00006  * This software is licensed as described in the file COPYING, which
00007  * you should have received as part of this distribution.  The terms
00008  * are also available at http://subversion.tigris.org/license-1.html.
00009  * If newer versions of this license are posted there, you may use a
00010  * newer version instead, at your option.
00011  *
00012  * This software consists of voluntary contributions made by many
00013  * individuals.  For exact contribution history, see the revision
00014  * history and logs, available at http://subversion.tigris.org/.
00015  * ====================================================================
00016  * @endcopyright
00017  *
00018  * @file svn_error_codes.h
00019  * @brief Subversion error codes.
00020  */
00021 
00022 /* What's going on here?
00023 
00024    In order to define error codes and their associated description
00025    strings in the same place, we overload the SVN_ERRDEF() macro with
00026    two definitions below.  Both take two arguments, an error code name
00027    and a description string.  One definition of the macro just throws
00028    away the string and defines enumeration constants using the error
00029    code names -- that definition is used by the header file that
00030    exports error codes to the rest of Subversion.  The other
00031    definition creates a static table mapping the enum codes to their
00032    corresponding strings -- that definition is used by the C file that
00033    implements svn_strerror().
00034 
00035    The header and C files both include this file, using #defines to
00036    control which version of the macro they get.
00037 */
00038 
00039 
00040 /* Process this file if we're building an error array, or if we have
00041    not defined the enumerated constants yet.  */
00042 #if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED)
00043 
00044 
00045 #include <apr.h>
00046 #include <apr_errno.h>     /* APR's error system */
00047 
00048 #include "svn_props.h"     /* For SVN_PROP_EXTERNALS. */
00049 
00050 #ifdef __cplusplus
00051 extern "C" {
00052 #endif /* __cplusplus */
00053 
00054 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00055 
00056 #if defined(SVN_ERROR_BUILD_ARRAY)
00057 
00058 #define SVN_ERROR_START \
00059         static const err_defn error_table[] = { \
00060           { SVN_WARNING, "Warning" },
00061 #define SVN_ERRDEF(num, offset, str) { num, str },
00062 #define SVN_ERROR_END { 0, NULL } };
00063 
00064 #elif !defined(SVN_ERROR_ENUM_DEFINED)
00065 
00066 #define SVN_ERROR_START \
00067         typedef enum svn_errno_t { \
00068           SVN_WARNING = APR_OS_START_USERERR + 1,
00069 #define SVN_ERRDEF(num, offset, str) /** str */ num = offset,
00070 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
00071 
00072 #define SVN_ERROR_ENUM_DEFINED
00073 
00074 #endif
00075 
00076 /* Define custom Subversion error numbers, in the range reserved for
00077    that in APR: from APR_OS_START_USERERR to APR_OS_START_SYSERR (see
00078    apr_errno.h).
00079 
00080    Error numbers are divided into categories of up to 5000 errors
00081    each.  Since we're dividing up the APR user error space, which has
00082    room for 500,000 errors, we can have up to 100 categories.
00083    Categories are fixed-size; if a category has fewer than 5000
00084    errors, then it just ends with a range of unused numbers.
00085 
00086    To maintain binary compatibility, please observe these guidelines:
00087 
00088       - When adding a new error, always add on the end of the
00089         appropriate category, so that the real values of existing
00090         errors are not changed.
00091 
00092       - When deleting an error, leave a placeholder comment indicating
00093         the offset, again so that the values of other errors are not
00094         perturbed.
00095 */
00096 
00097 #define SVN_ERR_CATEGORY_SIZE 5000
00098 
00099 /* Leave one category of room at the beginning, for SVN_WARNING and
00100    any other such beasts we might create in the future. */
00101 #define SVN_ERR_BAD_CATEGORY_START      (APR_OS_START_USERERR \
00102                                          + ( 1 * SVN_ERR_CATEGORY_SIZE))
00103 #define SVN_ERR_XML_CATEGORY_START      (APR_OS_START_USERERR \
00104                                          + ( 2 * SVN_ERR_CATEGORY_SIZE))
00105 #define SVN_ERR_IO_CATEGORY_START       (APR_OS_START_USERERR \
00106                                          + ( 3 * SVN_ERR_CATEGORY_SIZE))
00107 #define SVN_ERR_STREAM_CATEGORY_START   (APR_OS_START_USERERR \
00108                                          + ( 4 * SVN_ERR_CATEGORY_SIZE))
00109 #define SVN_ERR_NODE_CATEGORY_START     (APR_OS_START_USERERR \
00110                                          + ( 5 * SVN_ERR_CATEGORY_SIZE))
00111 #define SVN_ERR_ENTRY_CATEGORY_START    (APR_OS_START_USERERR \
00112                                          + ( 6 * SVN_ERR_CATEGORY_SIZE))
00113 #define SVN_ERR_WC_CATEGORY_START       (APR_OS_START_USERERR \
00114                                          + ( 7 * SVN_ERR_CATEGORY_SIZE))
00115 #define SVN_ERR_FS_CATEGORY_START       (APR_OS_START_USERERR \
00116                                          + ( 8 * SVN_ERR_CATEGORY_SIZE))
00117 #define SVN_ERR_REPOS_CATEGORY_START    (APR_OS_START_USERERR \
00118                                          + ( 9 * SVN_ERR_CATEGORY_SIZE))
00119 #define SVN_ERR_RA_CATEGORY_START       (APR_OS_START_USERERR \
00120                                          + (10 * SVN_ERR_CATEGORY_SIZE))
00121 #define SVN_ERR_RA_DAV_CATEGORY_START   (APR_OS_START_USERERR \
00122                                          + (11 * SVN_ERR_CATEGORY_SIZE))
00123 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
00124                                          + (12 * SVN_ERR_CATEGORY_SIZE))
00125 #define SVN_ERR_SVNDIFF_CATEGORY_START  (APR_OS_START_USERERR \
00126                                          + (13 * SVN_ERR_CATEGORY_SIZE))
00127 #define SVN_ERR_APMOD_CATEGORY_START    (APR_OS_START_USERERR \
00128                                          + (14 * SVN_ERR_CATEGORY_SIZE))
00129 #define SVN_ERR_CLIENT_CATEGORY_START   (APR_OS_START_USERERR \
00130                                          + (15 * SVN_ERR_CATEGORY_SIZE))
00131 #define SVN_ERR_MISC_CATEGORY_START     (APR_OS_START_USERERR \
00132                                          + (16 * SVN_ERR_CATEGORY_SIZE))
00133 #define SVN_ERR_CL_CATEGORY_START       (APR_OS_START_USERERR \
00134                                          + (17 * SVN_ERR_CATEGORY_SIZE))
00135 #define SVN_ERR_RA_SVN_CATEGORY_START   (APR_OS_START_USERERR \
00136                                          + (18 * SVN_ERR_CATEGORY_SIZE))
00137 #define SVN_ERR_AUTHN_CATEGORY_START    (APR_OS_START_USERERR \
00138                                          + (19 * SVN_ERR_CATEGORY_SIZE))
00139 #define SVN_ERR_AUTHZ_CATEGORY_START    (APR_OS_START_USERERR \
00140                                          + (20 * SVN_ERR_CATEGORY_SIZE))
00141 #define SVN_ERR_DIFF_CATEGORY_START     (APR_OS_START_USERERR \
00142                                          + (21 * SVN_ERR_CATEGORY_SIZE))
00143 #define SVN_ERR_RA_SERF_CATEGORY_START  (APR_OS_START_USERERR \
00144                                          + (22 * SVN_ERR_CATEGORY_SIZE))
00145 
00146 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00147 
00148 /** Collection of Subversion error code values, located within the
00149  * APR user error space. */
00150 SVN_ERROR_START
00151 
00152   /* validation ("BAD_FOO") errors */
00153 
00154   SVN_ERRDEF(SVN_ERR_BAD_CONTAINING_POOL,
00155              SVN_ERR_BAD_CATEGORY_START + 0,
00156              "Bad parent pool passed to svn_make_pool()")
00157 
00158   SVN_ERRDEF(SVN_ERR_BAD_FILENAME,
00159              SVN_ERR_BAD_CATEGORY_START + 1,
00160              "Bogus filename")
00161 
00162   SVN_ERRDEF(SVN_ERR_BAD_URL,
00163              SVN_ERR_BAD_CATEGORY_START + 2,
00164              "Bogus URL")
00165 
00166   SVN_ERRDEF(SVN_ERR_BAD_DATE,
00167              SVN_ERR_BAD_CATEGORY_START + 3,
00168              "Bogus date")
00169 
00170   SVN_ERRDEF(SVN_ERR_BAD_MIME_TYPE,
00171              SVN_ERR_BAD_CATEGORY_START + 4,
00172              "Bogus mime-type")
00173 
00174   /** @since New in 1.5.
00175    *
00176    * Note that there was an unused slot sitting here at
00177    * SVN_ERR_BAD_CATEGORY_START + 5, so error codes after this aren't
00178    * necessarily "New in 1.5" just because they come later.
00179    */
00180   SVN_ERRDEF(SVN_ERR_BAD_PROPERTY_VALUE,
00181              SVN_ERR_BAD_CATEGORY_START + 5,
00182              "Wrong or unexpected property value")
00183 
00184   SVN_ERRDEF(SVN_ERR_BAD_VERSION_FILE_FORMAT,
00185              SVN_ERR_BAD_CATEGORY_START + 6,
00186              "Version file format not correct")
00187 
00188   SVN_ERRDEF(SVN_ERR_BAD_RELATIVE_PATH,
00189              SVN_ERR_BAD_CATEGORY_START + 7,
00190              "Path is not an immediate child of the specified directory")
00191 
00192   SVN_ERRDEF(SVN_ERR_BAD_UUID,
00193              SVN_ERR_BAD_CATEGORY_START + 8,
00194              "Bogus UUID")
00195 
00196   /* xml errors */
00197 
00198   SVN_ERRDEF(SVN_ERR_XML_ATTRIB_NOT_FOUND,
00199              SVN_ERR_XML_CATEGORY_START + 0,
00200              "No such XML tag attribute")
00201 
00202   SVN_ERRDEF(SVN_ERR_XML_MISSING_ANCESTRY,
00203              SVN_ERR_XML_CATEGORY_START + 1,
00204              "<delta-pkg> is missing ancestry")
00205 
00206   SVN_ERRDEF(SVN_ERR_XML_UNKNOWN_ENCODING,
00207              SVN_ERR_XML_CATEGORY_START + 2,
00208              "Unrecognized binary data encoding; can't decode")
00209 
00210   SVN_ERRDEF(SVN_ERR_XML_MALFORMED,
00211              SVN_ERR_XML_CATEGORY_START + 3,
00212              "XML data was not well-formed")
00213 
00214   SVN_ERRDEF(SVN_ERR_XML_UNESCAPABLE_DATA,
00215              SVN_ERR_XML_CATEGORY_START + 4,
00216              "Data cannot be safely XML-escaped")
00217 
00218   /* io errors */
00219 
00220   SVN_ERRDEF(SVN_ERR_IO_INCONSISTENT_EOL,
00221              SVN_ERR_IO_CATEGORY_START + 0,
00222              "Inconsistent line ending style")
00223 
00224   SVN_ERRDEF(SVN_ERR_IO_UNKNOWN_EOL,
00225              SVN_ERR_IO_CATEGORY_START + 1,
00226              "Unrecognized line ending style")
00227 
00228   /** @deprecated Unused, slated for removal in the next major release. */
00229   SVN_ERRDEF(SVN_ERR_IO_CORRUPT_EOL,
00230              SVN_ERR_IO_CATEGORY_START + 2,
00231              "Line endings other than expected")
00232 
00233   SVN_ERRDEF(SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED,
00234              SVN_ERR_IO_CATEGORY_START + 3,
00235              "Ran out of unique names")
00236 
00237   /** @deprecated Unused, slated for removal in the next major release. */
00238   SVN_ERRDEF(SVN_ERR_IO_PIPE_FRAME_ERROR,
00239              SVN_ERR_IO_CATEGORY_START + 4,
00240              "Framing error in pipe protocol")
00241 
00242   /** @deprecated Unused, slated for removal in the next major release. */
00243   SVN_ERRDEF(SVN_ERR_IO_PIPE_READ_ERROR,
00244              SVN_ERR_IO_CATEGORY_START + 5,
00245              "Read error in pipe")
00246 
00247   SVN_ERRDEF(SVN_ERR_IO_WRITE_ERROR,
00248              SVN_ERR_IO_CATEGORY_START + 6,
00249              "Write error")
00250 
00251   /* stream errors */
00252 
00253   SVN_ERRDEF(SVN_ERR_STREAM_UNEXPECTED_EOF,
00254              SVN_ERR_STREAM_CATEGORY_START + 0,
00255              "Unexpected EOF on stream")
00256 
00257   SVN_ERRDEF(SVN_ERR_STREAM_MALFORMED_DATA,
00258              SVN_ERR_STREAM_CATEGORY_START + 1,
00259              "Malformed stream data")
00260 
00261   SVN_ERRDEF(SVN_ERR_STREAM_UNRECOGNIZED_DATA,
00262              SVN_ERR_STREAM_CATEGORY_START + 2,
00263              "Unrecognized stream data")
00264 
00265   /* node errors */
00266 
00267   SVN_ERRDEF(SVN_ERR_NODE_UNKNOWN_KIND,
00268              SVN_ERR_NODE_CATEGORY_START + 0,
00269              "Unknown svn_node_kind")
00270 
00271   SVN_ERRDEF(SVN_ERR_NODE_UNEXPECTED_KIND,
00272              SVN_ERR_NODE_CATEGORY_START + 1,
00273              "Unexpected node kind found")
00274 
00275   /* entry errors */
00276 
00277   SVN_ERRDEF(SVN_ERR_ENTRY_NOT_FOUND,
00278              SVN_ERR_ENTRY_CATEGORY_START + 0,
00279              "Can't find an entry")
00280 
00281   /* UNUSED error slot:                    + 1 */
00282 
00283   SVN_ERRDEF(SVN_ERR_ENTRY_EXISTS,
00284              SVN_ERR_ENTRY_CATEGORY_START + 2,
00285              "Entry already exists")
00286 
00287   SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_REVISION,
00288              SVN_ERR_ENTRY_CATEGORY_START + 3,
00289              "Entry has no revision")
00290 
00291   SVN_ERRDEF(SVN_ERR_ENTRY_MISSING_URL,
00292              SVN_ERR_ENTRY_CATEGORY_START + 4,
00293              "Entry has no URL")
00294 
00295   SVN_ERRDEF(SVN_ERR_ENTRY_ATTRIBUTE_INVALID,
00296              SVN_ERR_ENTRY_CATEGORY_START + 5,
00297              "Entry has an invalid attribute")
00298 
00299   /* wc errors */
00300 
00301   SVN_ERRDEF(SVN_ERR_WC_OBSTRUCTED_UPDATE,
00302              SVN_ERR_WC_CATEGORY_START + 0,
00303              "Obstructed update")
00304 
00305   /** @deprecated Unused, slated for removal in the next major release. */
00306   SVN_ERRDEF(SVN_ERR_WC_UNWIND_MISMATCH,
00307              SVN_ERR_WC_CATEGORY_START + 1,
00308              "Mismatch popping the WC unwind stack")
00309 
00310   /** @deprecated Unused, slated for removal in the next major release. */
00311   SVN_ERRDEF(SVN_ERR_WC_UNWIND_EMPTY,
00312              SVN_ERR_WC_CATEGORY_START + 2,
00313              "Attempt to pop empty WC unwind stack")
00314 
00315   /** @deprecated Unused, slated for removal in the next major release. */
00316   SVN_ERRDEF(SVN_ERR_WC_UNWIND_NOT_EMPTY,
00317              SVN_ERR_WC_CATEGORY_START + 3,
00318              "Attempt to unlock with non-empty unwind stack")
00319 
00320   SVN_ERRDEF(SVN_ERR_WC_LOCKED,
00321              SVN_ERR_WC_CATEGORY_START + 4,
00322              "Attempted to lock an already-locked dir")
00323 
00324   SVN_ERRDEF(SVN_ERR_WC_NOT_LOCKED,
00325              SVN_ERR_WC_CATEGORY_START + 5,
00326              "Working copy not locked; this is probably a bug, please report")
00327 
00328   /** @deprecated Unused, slated for removal in the next major release. */
00329   SVN_ERRDEF(SVN_ERR_WC_INVALID_LOCK,
00330              SVN_ERR_WC_CATEGORY_START + 6,
00331              "Invalid lock")
00332 
00333   SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY,
00334              SVN_ERR_WC_CATEGORY_START + 7,
00335              "Path is not a working copy directory")
00336 
00337   SVN_ERRDEF(SVN_ERR_WC_NOT_FILE,
00338              SVN_ERR_WC_CATEGORY_START + 8,
00339              "Path is not a working copy file")
00340 
00341   SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG,
00342              SVN_ERR_WC_CATEGORY_START + 9,
00343              "Problem running log")
00344 
00345   SVN_ERRDEF(SVN_ERR_WC_PATH_NOT_FOUND,
00346              SVN_ERR_WC_CATEGORY_START + 10,
00347              "Can't find a working copy path")
00348 
00349   SVN_ERRDEF(SVN_ERR_WC_NOT_UP_TO_DATE,
00350              SVN_ERR_WC_CATEGORY_START + 11,
00351              "Working copy is not up-to-date")
00352 
00353   SVN_ERRDEF(SVN_ERR_WC_LEFT_LOCAL_MOD,
00354              SVN_ERR_WC_CATEGORY_START + 12,
00355              "Left locally modified or unversioned files")
00356 
00357   SVN_ERRDEF(SVN_ERR_WC_SCHEDULE_CONFLICT,
00358              SVN_ERR_WC_CATEGORY_START + 13,
00359              "Unmergeable scheduling requested on an entry")
00360 
00361   SVN_ERRDEF(SVN_ERR_WC_PATH_FOUND,
00362              SVN_ERR_WC_CATEGORY_START + 14,
00363              "Found a working copy path")
00364 
00365   SVN_ERRDEF(SVN_ERR_WC_FOUND_CONFLICT,
00366              SVN_ERR_WC_CATEGORY_START + 15,
00367              "A conflict in the working copy obstructs the current operation")
00368 
00369   SVN_ERRDEF(SVN_ERR_WC_CORRUPT,
00370              SVN_ERR_WC_CATEGORY_START + 16,
00371              "Working copy is corrupt")
00372 
00373   SVN_ERRDEF(SVN_ERR_WC_CORRUPT_TEXT_BASE,
00374              SVN_ERR_WC_CATEGORY_START + 17,
00375              "Working copy text base is corrupt")
00376 
00377   SVN_ERRDEF(SVN_ERR_WC_NODE_KIND_CHANGE,
00378              SVN_ERR_WC_CATEGORY_START + 18,
00379              "Cannot change node kind")
00380 
00381   SVN_ERRDEF(SVN_ERR_WC_INVALID_OP_ON_CWD,
00382              SVN_ERR_WC_CATEGORY_START + 19,
00383              "Invalid operation on the current working directory")
00384 
00385   SVN_ERRDEF(SVN_ERR_WC_BAD_ADM_LOG_START,
00386              SVN_ERR_WC_CATEGORY_START + 20,
00387              "Problem on first log entry in a working copy")
00388 
00389   SVN_ERRDEF(SVN_ERR_WC_UNSUPPORTED_FORMAT,
00390              SVN_ERR_WC_CATEGORY_START + 21,
00391              "Unsupported working copy format")
00392 
00393   SVN_ERRDEF(SVN_ERR_WC_BAD_PATH,
00394              SVN_ERR_WC_CATEGORY_START + 22,
00395              "Path syntax not supported in this context")
00396 
00397   /** @since New in 1.2. */
00398   SVN_ERRDEF(SVN_ERR_WC_INVALID_SCHEDULE,
00399              SVN_ERR_WC_CATEGORY_START + 23,
00400              "Invalid schedule")
00401 
00402   /** @since New in 1.3. */
00403   SVN_ERRDEF(SVN_ERR_WC_INVALID_RELOCATION,
00404              SVN_ERR_WC_CATEGORY_START + 24,
00405              "Invalid relocation")
00406 
00407   /** @since New in 1.3. */
00408   SVN_ERRDEF(SVN_ERR_WC_INVALID_SWITCH,
00409              SVN_ERR_WC_CATEGORY_START + 25,
00410              "Invalid switch")
00411 
00412   /** @since New in 1.5. */
00413   SVN_ERRDEF(SVN_ERR_WC_MISMATCHED_CHANGELIST,
00414              SVN_ERR_WC_CATEGORY_START + 26,
00415              "Changelist doesn't match")
00416 
00417   /** @since New in 1.5. */
00418   SVN_ERRDEF(SVN_ERR_WC_CONFLICT_RESOLVER_FAILURE,
00419              SVN_ERR_WC_CATEGORY_START + 27,
00420              "Conflict resolution failed")
00421 
00422   SVN_ERRDEF(SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND,
00423              SVN_ERR_WC_CATEGORY_START + 28,
00424              "Failed to locate 'copyfrom' path in working copy")
00425 
00426   /** @since New in 1.5. */
00427   SVN_ERRDEF(SVN_ERR_WC_CHANGELIST_MOVE,
00428              SVN_ERR_WC_CATEGORY_START + 29,
00429              "Moving a path from one changelist to another")
00430 
00431 
00432   /* fs errors */
00433 
00434   SVN_ERRDEF(SVN_ERR_FS_GENERAL,
00435              SVN_ERR_FS_CATEGORY_START + 0,
00436              "General filesystem error")
00437 
00438   SVN_ERRDEF(SVN_ERR_FS_CLEANUP,
00439              SVN_ERR_FS_CATEGORY_START + 1,
00440              "Error closing filesystem")
00441 
00442   SVN_ERRDEF(SVN_ERR_FS_ALREADY_OPEN,
00443              SVN_ERR_FS_CATEGORY_START + 2,
00444              "Filesystem is already open")
00445 
00446   SVN_ERRDEF(SVN_ERR_FS_NOT_OPEN,
00447              SVN_ERR_FS_CATEGORY_START + 3,
00448              "Filesystem is not open")
00449 
00450   SVN_ERRDEF(SVN_ERR_FS_CORRUPT,
00451              SVN_ERR_FS_CATEGORY_START + 4,
00452              "Filesystem is corrupt")
00453 
00454   SVN_ERRDEF(SVN_ERR_FS_PATH_SYNTAX,
00455              SVN_ERR_FS_CATEGORY_START + 5,
00456              "Invalid filesystem path syntax")
00457 
00458   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REVISION,
00459              SVN_ERR_FS_CATEGORY_START + 6,
00460              "Invalid filesystem revision number")
00461 
00462   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_TRANSACTION,
00463              SVN_ERR_FS_CATEGORY_START + 7,
00464              "Invalid filesystem transaction name")
00465 
00466   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_ENTRY,
00467              SVN_ERR_FS_CATEGORY_START + 8,
00468              "Filesystem directory has no such entry")
00469 
00470   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_REPRESENTATION,
00471              SVN_ERR_FS_CATEGORY_START + 9,
00472              "Filesystem has no such representation")
00473 
00474   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_STRING,
00475              SVN_ERR_FS_CATEGORY_START + 10,
00476              "Filesystem has no such string")
00477 
00478   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_COPY,
00479              SVN_ERR_FS_CATEGORY_START + 11,
00480              "Filesystem has no such copy")
00481 
00482   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_MUTABLE,
00483              SVN_ERR_FS_CATEGORY_START + 12,
00484              "The specified transaction is not mutable")
00485 
00486   SVN_ERRDEF(SVN_ERR_FS_NOT_FOUND,
00487              SVN_ERR_FS_CATEGORY_START + 13,
00488              "Filesystem has no item")
00489 
00490   SVN_ERRDEF(SVN_ERR_FS_ID_NOT_FOUND,
00491              SVN_ERR_FS_CATEGORY_START + 14,
00492              "Filesystem has no such node-rev-id")
00493 
00494   SVN_ERRDEF(SVN_ERR_FS_NOT_ID,
00495              SVN_ERR_FS_CATEGORY_START + 15,
00496              "String does not represent a node or node-rev-id")
00497 
00498   SVN_ERRDEF(SVN_ERR_FS_NOT_DIRECTORY,
00499              SVN_ERR_FS_CATEGORY_START + 16,
00500              "Name does not refer to a filesystem directory")
00501 
00502   SVN_ERRDEF(SVN_ERR_FS_NOT_FILE,
00503              SVN_ERR_FS_CATEGORY_START + 17,
00504              "Name does not refer to a filesystem file")
00505 
00506   SVN_ERRDEF(SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,
00507              SVN_ERR_FS_CATEGORY_START + 18,
00508              "Name is not a single path component")
00509 
00510   SVN_ERRDEF(SVN_ERR_FS_NOT_MUTABLE,
00511              SVN_ERR_FS_CATEGORY_START + 19,
00512              "Attempt to change immutable filesystem node")
00513 
00514   SVN_ERRDEF(SVN_ERR_FS_ALREADY_EXISTS,
00515              SVN_ERR_FS_CATEGORY_START + 20,
00516              "Item already exists in filesystem")
00517 
00518   SVN_ERRDEF(SVN_ERR_FS_ROOT_DIR,
00519              SVN_ERR_FS_CATEGORY_START + 21,
00520              "Attempt to remove or recreate fs root dir")
00521 
00522   SVN_ERRDEF(SVN_ERR_FS_NOT_TXN_ROOT,
00523              SVN_ERR_FS_CATEGORY_START + 22,
00524              "Object is not a transaction root")
00525 
00526   SVN_ERRDEF(SVN_ERR_FS_NOT_REVISION_ROOT,
00527              SVN_ERR_FS_CATEGORY_START + 23,
00528              "Object is not a revision root")
00529 
00530   SVN_ERRDEF(SVN_ERR_FS_CONFLICT,
00531              SVN_ERR_FS_CATEGORY_START + 24,
00532              "Merge conflict during commit")
00533 
00534   SVN_ERRDEF(SVN_ERR_FS_REP_CHANGED,
00535              SVN_ERR_FS_CATEGORY_START + 25,
00536              "A representation vanished or changed between reads")
00537 
00538   SVN_ERRDEF(SVN_ERR_FS_REP_NOT_MUTABLE,
00539              SVN_ERR_FS_CATEGORY_START + 26,
00540              "Tried to change an immutable representation")
00541 
00542   SVN_ERRDEF(SVN_ERR_FS_MALFORMED_SKEL,
00543              SVN_ERR_FS_CATEGORY_START + 27,
00544              "Malformed skeleton data")
00545 
00546   SVN_ERRDEF(SVN_ERR_FS_TXN_OUT_OF_DATE,
00547              SVN_ERR_FS_CATEGORY_START + 28,
00548              "Transaction is out of date")
00549 
00550   SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB,
00551              SVN_ERR_FS_CATEGORY_START + 29,
00552              "Berkeley DB error")
00553 
00554   SVN_ERRDEF(SVN_ERR_FS_BERKELEY_DB_DEADLOCK,
00555              SVN_ERR_FS_CATEGORY_START + 30,
00556              "Berkeley DB deadlock error")
00557 
00558   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_DEAD,
00559              SVN_ERR_FS_CATEGORY_START + 31,
00560              "Transaction is dead")
00561 
00562   SVN_ERRDEF(SVN_ERR_FS_TRANSACTION_NOT_DEAD,
00563              SVN_ERR_FS_CATEGORY_START + 32,
00564              "Transaction is not dead")
00565 
00566   /** @since New in 1.1. */
00567   SVN_ERRDEF(SVN_ERR_FS_UNKNOWN_FS_TYPE,
00568              SVN_ERR_FS_CATEGORY_START + 33,
00569              "Unknown FS type")
00570 
00571   /** @since New in 1.2. */
00572   SVN_ERRDEF(SVN_ERR_FS_NO_USER,
00573              SVN_ERR_FS_CATEGORY_START + 34,
00574              "No user associated with filesystem")
00575 
00576   /** @since New in 1.2. */
00577   SVN_ERRDEF(SVN_ERR_FS_PATH_ALREADY_LOCKED,
00578              SVN_ERR_FS_CATEGORY_START + 35,
00579              "Path is already locked")
00580 
00581   /** @since New in 1.2. */
00582   SVN_ERRDEF(SVN_ERR_FS_PATH_NOT_LOCKED,
00583              SVN_ERR_FS_CATEGORY_START + 36,
00584              "Path is not locked")
00585 
00586   /** @since New in 1.2. */
00587   SVN_ERRDEF(SVN_ERR_FS_BAD_LOCK_TOKEN,
00588              SVN_ERR_FS_CATEGORY_START + 37,
00589              "Lock token is incorrect")
00590 
00591   /** @since New in 1.2. */
00592   SVN_ERRDEF(SVN_ERR_FS_NO_LOCK_TOKEN,
00593              SVN_ERR_FS_CATEGORY_START + 38,
00594              "No lock token provided")
00595 
00596   /** @since New in 1.2. */
00597   SVN_ERRDEF(SVN_ERR_FS_LOCK_OWNER_MISMATCH,
00598              SVN_ERR_FS_CATEGORY_START + 39,
00599              "Username does not match lock owner")
00600 
00601   /** @since New in 1.2. */
00602   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_LOCK,
00603              SVN_ERR_FS_CATEGORY_START + 40,
00604              "Filesystem has no such lock")
00605 
00606   /** @since New in 1.2. */
00607   SVN_ERRDEF(SVN_ERR_FS_LOCK_EXPIRED,
00608              SVN_ERR_FS_CATEGORY_START + 41,
00609              "Lock has expired")
00610 
00611   /** @since New in 1.2. */
00612   SVN_ERRDEF(SVN_ERR_FS_OUT_OF_DATE,
00613              SVN_ERR_FS_CATEGORY_START + 42,
00614              "Item is out of date")
00615 
00616   /**@since New in 1.2.
00617    *
00618    * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION.  To avoid
00619    * confusion with "versions" (i.e., releases) of Subversion, we've
00620    * started calling this the "format" number instead.  The old
00621    * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
00622    * retains its name.
00623    */
00624   SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_FORMAT,
00625              SVN_ERR_FS_CATEGORY_START + 43,
00626              "Unsupported FS format")
00627 
00628   /** @since New in 1.5. */
00629   SVN_ERRDEF(SVN_ERR_FS_REP_BEING_WRITTEN,
00630              SVN_ERR_FS_CATEGORY_START + 44,
00631              "Representation is being written")
00632 
00633   /** @since New in 1.5. */
00634   SVN_ERRDEF(SVN_ERR_FS_TXN_NAME_TOO_LONG,
00635              SVN_ERR_FS_CATEGORY_START + 45,
00636              "The generated transaction name is too long")
00637 
00638   /** @since New in 1.5. */
00639   SVN_ERRDEF(SVN_ERR_FS_NO_SUCH_NODE_ORIGIN,
00640              SVN_ERR_FS_CATEGORY_START + 46,
00641              "Filesystem has no such node origin record")
00642 
00643   /** @since New in 1.5. */
00644   SVN_ERRDEF(SVN_ERR_FS_UNSUPPORTED_UPGRADE,
00645              SVN_ERR_FS_CATEGORY_START + 47,
00646              "Filesystem upgrade is not supported")
00647 
00648   /* repos errors */
00649 
00650   SVN_ERRDEF(SVN_ERR_REPOS_LOCKED,
00651              SVN_ERR_REPOS_CATEGORY_START + 0,
00652              "The repository is locked, perhaps for db recovery")
00653 
00654   SVN_ERRDEF(SVN_ERR_REPOS_HOOK_FAILURE,
00655              SVN_ERR_REPOS_CATEGORY_START + 1,
00656              "A repository hook failed")
00657 
00658   SVN_ERRDEF(SVN_ERR_REPOS_BAD_ARGS,
00659              SVN_ERR_REPOS_CATEGORY_START + 2,
00660              "Incorrect arguments supplied")
00661 
00662   SVN_ERRDEF(SVN_ERR_REPOS_NO_DATA_FOR_REPORT,
00663              SVN_ERR_REPOS_CATEGORY_START + 3,
00664              "A report cannot be generated because no data was supplied")
00665 
00666   SVN_ERRDEF(SVN_ERR_REPOS_BAD_REVISION_REPORT,
00667              SVN_ERR_REPOS_CATEGORY_START + 4,
00668              "Bogus revision report")
00669 
00670   /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT.  To avoid
00671    * confusion with "versions" (i.e., releases) of Subversion, we
00672    * started using the word "format" instead of "version".  However,
00673    * this error code's name predates that decision.
00674    */
00675   SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_VERSION,
00676              SVN_ERR_REPOS_CATEGORY_START + 5,
00677              "Unsupported repository version")
00678 
00679   SVN_ERRDEF(SVN_ERR_REPOS_DISABLED_FEATURE,
00680              SVN_ERR_REPOS_CATEGORY_START + 6,
00681              "Disabled repository feature")
00682 
00683   SVN_ERRDEF(SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED,
00684              SVN_ERR_REPOS_CATEGORY_START + 7,
00685              "Error running post-commit hook")
00686 
00687   /** @since New in 1.2. */
00688   SVN_ERRDEF(SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED,
00689              SVN_ERR_REPOS_CATEGORY_START + 8,
00690              "Error running post-lock hook")
00691 
00692   /** @since New in 1.2. */
00693   SVN_ERRDEF(SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED,
00694              SVN_ERR_REPOS_CATEGORY_START + 9,
00695              "Error running post-unlock hook")
00696 
00697   /** @since New in 1.5. */
00698   SVN_ERRDEF(SVN_ERR_REPOS_UNSUPPORTED_UPGRADE,
00699              SVN_ERR_REPOS_CATEGORY_START + 10,
00700              "Repository upgrade is not supported")
00701 
00702   /* generic RA errors */
00703 
00704   SVN_ERRDEF(SVN_ERR_RA_ILLEGAL_URL,
00705              SVN_ERR_RA_CATEGORY_START + 0,
00706              "Bad URL passed to RA layer")
00707 
00708   SVN_ERRDEF(SVN_ERR_RA_NOT_AUTHORIZED,
00709              SVN_ERR_RA_CATEGORY_START + 1,
00710              "Authorization failed")
00711 
00712   SVN_ERRDEF(SVN_ERR_RA_UNKNOWN_AUTH,
00713              SVN_ERR_RA_CATEGORY_START + 2,
00714              "Unknown authorization method")
00715 
00716   SVN_ERRDEF(SVN_ERR_RA_NOT_IMPLEMENTED,
00717              SVN_ERR_RA_CATEGORY_START + 3,
00718              "Repository access method not implemented")
00719 
00720   SVN_ERRDEF(SVN_ERR_RA_OUT_OF_DATE,
00721              SVN_ERR_RA_CATEGORY_START + 4,
00722              "Item is out of date")
00723 
00724   SVN_ERRDEF(SVN_ERR_RA_NO_REPOS_UUID,
00725              SVN_ERR_RA_CATEGORY_START + 5,
00726              "Repository has no UUID")
00727 
00728   SVN_ERRDEF(SVN_ERR_RA_UNSUPPORTED_ABI_VERSION,
00729              SVN_ERR_RA_CATEGORY_START + 6,
00730              "Unsupported RA plugin ABI version")
00731 
00732   /** @since New in 1.2. */
00733   SVN_ERRDEF(SVN_ERR_RA_NOT_LOCKED,
00734              SVN_ERR_RA_CATEGORY_START + 7,
00735              "Path is not locked")
00736 
00737   /** @since New in 1.5. */
00738   SVN_ERRDEF(SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED,
00739              SVN_ERR_RA_CATEGORY_START + 8,
00740              "Server can only replay from the root of a repository")
00741 
00742   /** @since New in 1.5. */
00743   SVN_ERRDEF(SVN_ERR_RA_UUID_MISMATCH,
00744              SVN_ERR_RA_CATEGORY_START + 9,
00745              "Repository UUID does not match expected UUID")
00746 
00747   /* ra_dav errors */
00748 
00749   SVN_ERRDEF(SVN_ERR_RA_DAV_SOCK_INIT,
00750              SVN_ERR_RA_DAV_CATEGORY_START + 0,
00751              "RA layer failed to init socket layer")
00752 
00753   SVN_ERRDEF(SVN_ERR_RA_DAV_CREATING_REQUEST,
00754              SVN_ERR_RA_DAV_CATEGORY_START + 1,
00755              "RA layer failed to create HTTP request")
00756 
00757   SVN_ERRDEF(SVN_ERR_RA_DAV_REQUEST_FAILED,
00758              SVN_ERR_RA_DAV_CATEGORY_START + 2,
00759              "RA layer request failed")
00760 
00761   SVN_ERRDEF(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED,
00762              SVN_ERR_RA_DAV_CATEGORY_START + 3,
00763              "RA layer didn't receive requested OPTIONS info")
00764 
00765   SVN_ERRDEF(SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
00766              SVN_ERR_RA_DAV_CATEGORY_START + 4,
00767              "RA layer failed to fetch properties")
00768 
00769   SVN_ERRDEF(SVN_ERR_RA_DAV_ALREADY_EXISTS,
00770              SVN_ERR_RA_DAV_CATEGORY_START + 5,
00771              "RA layer file already exists")
00772 
00773   SVN_ERRDEF(SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE,
00774              SVN_ERR_RA_DAV_CATEGORY_START + 6,
00775              "Invalid configuration value")
00776 
00777   /** @deprecated To improve consistency between ra layers, this error code
00778       is replaced in ra_{neon|serf} by SVN_ERR_FS_NOT_FOUND.
00779       Slated for removal in the next major release. */
00780   SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND,
00781              SVN_ERR_RA_DAV_CATEGORY_START + 7,
00782              "HTTP Path Not Found")
00783 
00784   SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED,
00785              SVN_ERR_RA_DAV_CATEGORY_START + 8,
00786              "Failed to execute WebDAV PROPPATCH")
00787 
00788   /** @since New in 1.2. */
00789   SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA,
00790              SVN_ERR_RA_DAV_CATEGORY_START + 9,
00791              "Malformed network data")
00792 
00793   /** @since New in 1.3 */
00794   SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,
00795              SVN_ERR_RA_DAV_CATEGORY_START + 10,
00796              "Unable to extract data from response header")
00797 
00798   /** @since New in 1.5 */
00799   SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
00800              SVN_ERR_RA_DAV_CATEGORY_START + 11,
00801              "Repository has been moved")
00802 
00803   /* ra_local errors */
00804 
00805   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
00806              SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
00807              "Couldn't find a repository")
00808 
00809   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
00810              SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
00811              "Couldn't open a repository")
00812   /* ra_svn errors */
00813 
00814   SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
00815              SVN_ERR_RA_SVN_CATEGORY_START + 0,
00816              "Special code for wrapping server errors to report to client")
00817 
00818   SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
00819              SVN_ERR_RA_SVN_CATEGORY_START + 1,
00820              "Unknown svn protocol command")
00821 
00822   SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED,
00823              SVN_ERR_RA_SVN_CATEGORY_START + 2,
00824              "Network connection closed unexpectedly")
00825 
00826   SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
00827              SVN_ERR_RA_SVN_CATEGORY_START + 3,
00828              "Network read/write error")
00829 
00830   SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA,
00831              SVN_ERR_RA_SVN_CATEGORY_START + 4,
00832              "Malformed network data")
00833 
00834   SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
00835              SVN_ERR_RA_SVN_CATEGORY_START + 5,
00836              "Couldn't find a repository")
00837 
00838   SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
00839              SVN_ERR_RA_SVN_CATEGORY_START + 6,
00840              "Client/server version mismatch")
00841 
00842   /** @since New in 1.5. */
00843   SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
00844              SVN_ERR_RA_SVN_CATEGORY_START + 7,
00845              "Cannot negotiate authentication mechanism")
00846 
00847   /* libsvn_ra_serf errors */
00848   /** @since New in 1.5. */
00849   SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED,
00850              SVN_ERR_RA_SERF_CATEGORY_START + 0,
00851              "Initialization of SSPI library failed")
00852   /** @since New in 1.5. */
00853   SVN_ERRDEF(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED,
00854              SVN_ERR_RA_SERF_CATEGORY_START + 1,
00855              "Server SSL certificate untrusted")
00856 
00857   /* libsvn_auth errors */
00858 
00859        /* this error can be used when an auth provider doesn't have
00860           the creds, but no other "real" error occurred. */
00861   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
00862              SVN_ERR_AUTHN_CATEGORY_START + 0,
00863              "Credential data unavailable")
00864 
00865   SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
00866              SVN_ERR_AUTHN_CATEGORY_START + 1,
00867              "No authentication provider available")
00868 
00869   SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
00870              SVN_ERR_AUTHN_CATEGORY_START + 2,
00871              "All authentication providers exhausted")
00872 
00873   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED,
00874              SVN_ERR_AUTHN_CATEGORY_START + 3,
00875              "Credentials not saved")
00876 
00877   /** @since New in 1.5. */
00878   SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
00879              SVN_ERR_AUTHN_CATEGORY_START + 4,
00880              "Authentication failed")
00881 
00882   /* authorization errors */
00883 
00884   SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE,
00885              SVN_ERR_AUTHZ_CATEGORY_START + 0,
00886              "Read access denied for root of edit")
00887 
00888   /** @since New in 1.1. */
00889   SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
00890              SVN_ERR_AUTHZ_CATEGORY_START + 1,
00891              "Item is not readable")
00892 
00893   /** @since New in 1.1. */
00894   SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE,
00895              SVN_ERR_AUTHZ_CATEGORY_START + 2,
00896              "Item is partially readable")
00897 
00898   SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
00899              SVN_ERR_AUTHZ_CATEGORY_START + 3,
00900              "Invalid authz configuration")
00901 
00902   /** @since New in 1.3 */
00903   SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
00904              SVN_ERR_AUTHZ_CATEGORY_START + 4,
00905              "Item is not writable")
00906 
00907   /* svndiff errors */
00908 
00909   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER,
00910              SVN_ERR_SVNDIFF_CATEGORY_START + 0,
00911              "Svndiff data has invalid header")
00912 
00913   SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
00914              SVN_ERR_SVNDIFF_CATEGORY_START + 1,
00915              "Svndiff data contains corrupt window")
00916 
00917   SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW,
00918              SVN_ERR_SVNDIFF_CATEGORY_START + 2,
00919              "Svndiff data contains backward-sliding source view")
00920 
00921   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
00922              SVN_ERR_SVNDIFF_CATEGORY_START + 3,
00923              "Svndiff data contains invalid instruction")
00924 
00925   SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END,
00926              SVN_ERR_SVNDIFF_CATEGORY_START + 4,
00927              "Svndiff data ends unexpectedly")
00928 
00929   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,
00930              SVN_ERR_SVNDIFF_CATEGORY_START + 5,
00931              "Svndiff compressed data is invalid")
00932 
00933   /* libsvn_diff errors */
00934 
00935   SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED,
00936              SVN_ERR_DIFF_CATEGORY_START + 0,
00937              "Diff data source modified unexpectedly")
00938 
00939   /* mod_dav_svn errors */
00940 
00941   SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS,
00942              SVN_ERR_APMOD_CATEGORY_START + 0,
00943              "Apache has no path to an SVN filesystem")
00944 
00945   SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
00946              SVN_ERR_APMOD_CATEGORY_START + 1,
00947              "Apache got a malformed URI")
00948 
00949   SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
00950              SVN_ERR_APMOD_CATEGORY_START + 2,
00951              "Activity not found")
00952 
00953   SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
00954              SVN_ERR_APMOD_CATEGORY_START + 3,
00955              "Baseline incorrect")
00956 
00957   SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED,
00958              SVN_ERR_APMOD_CATEGORY_START + 4,
00959              "Input/output error")
00960 
00961   /* libsvn_client errors */
00962 
00963   SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
00964              SVN_ERR_CLIENT_CATEGORY_START + 0,
00965              "A path under version control is needed for this operation")
00966 
00967   SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
00968              SVN_ERR_CLIENT_CATEGORY_START + 1,
00969              "Repository access is needed for this operation")
00970 
00971   SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
00972              SVN_ERR_CLIENT_CATEGORY_START + 2,
00973              "Bogus revision information given")
00974 
00975   SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
00976              SVN_ERR_CLIENT_CATEGORY_START + 3,
00977              "Attempting to commit to a URL more than once")
00978 
00979   SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
00980              SVN_ERR_CLIENT_CATEGORY_START + 4,
00981              "Operation does not apply to binary file")
00982 
00983        /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
00984          in order to get gettext translatable strings */
00985   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
00986              SVN_ERR_CLIENT_CATEGORY_START + 5,
00987              "Format of an svn:externals property was invalid")
00988 
00989   SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
00990              SVN_ERR_CLIENT_CATEGORY_START + 6,
00991              "Attempting restricted operation for modified resource")
00992 
00993   SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
00994              SVN_ERR_CLIENT_CATEGORY_START + 7,
00995              "Operation does not apply to directory")
00996 
00997   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
00998              SVN_ERR_CLIENT_CATEGORY_START + 8,
00999              "Revision range is not allowed")
01000 
01001   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION,
01002              SVN_ERR_CLIENT_CATEGORY_START + 9,
01003              "Inter-repository relocation not allowed")
01004 
01005   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
01006              SVN_ERR_CLIENT_CATEGORY_START + 10,
01007              "Author name cannot contain a newline")
01008 
01009   SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
01010              SVN_ERR_CLIENT_CATEGORY_START + 11,
01011              "Bad property name")
01012 
01013   /** @since New in 1.1. */
01014   SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES,
01015              SVN_ERR_CLIENT_CATEGORY_START + 12,
01016              "Two versioned resources are unrelated")
01017 
01018   /** @since New in 1.2. */
01019   SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
01020              SVN_ERR_CLIENT_CATEGORY_START + 13,
01021              "Path has no lock token")
01022 
01023   /** @since New in 1.5. */
01024   SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED,
01025              SVN_ERR_CLIENT_CATEGORY_START + 14,
01026              "Operation does not support multiple sources")
01027 
01028   /** @since New in 1.5. */
01029   SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT,
01030              SVN_ERR_CLIENT_CATEGORY_START + 15,
01031              "No versioned parent directories")
01032 
01033   /** @since New in 1.5. */
01034   SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE,
01035              SVN_ERR_CLIENT_CATEGORY_START + 16,
01036              "Working copy and merge source not ready for reintegration")
01037 
01038   /* misc errors */
01039 
01040   SVN_ERRDEF(SVN_ERR_BASE,
01041              SVN_ERR_MISC_CATEGORY_START + 0,
01042              "A problem occurred; see later errors for details")
01043 
01044   SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
01045              SVN_ERR_MISC_CATEGORY_START + 1,
01046              "Failure loading plugin")
01047 
01048   SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
01049              SVN_ERR_MISC_CATEGORY_START + 2,
01050              "Malformed file")
01051 
01052   SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
01053              SVN_ERR_MISC_CATEGORY_START + 3,
01054              "Incomplete data")
01055 
01056   SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
01057              SVN_ERR_MISC_CATEGORY_START + 4,
01058              "Incorrect parameters given")
01059 
01060   SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
01061              SVN_ERR_MISC_CATEGORY_START + 5,
01062              "Tried a versioning operation on an unversioned resource")
01063 
01064   SVN_ERRDEF(SVN_ERR_TEST_FAILED,
01065              SVN_ERR_MISC_CATEGORY_START + 6,
01066              "Test failed")
01067 
01068   SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
01069              SVN_ERR_MISC_CATEGORY_START + 7,
01070              "Trying to use an unsupported feature")
01071 
01072   SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
01073              SVN_ERR_MISC_CATEGORY_START + 8,
01074              "Unexpected or unknown property kind")
01075 
01076   SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
01077              SVN_ERR_MISC_CATEGORY_START + 9,
01078              "Illegal target for the requested operation")
01079 
01080   SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
01081              SVN_ERR_MISC_CATEGORY_START + 10,
01082              "MD5 checksum is missing")
01083 
01084   SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
01085              SVN_ERR_MISC_CATEGORY_START + 11,
01086              "Directory needs to be empty but is not")
01087 
01088   SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
01089              SVN_ERR_MISC_CATEGORY_START + 12,
01090              "Error calling external program")
01091 
01092   SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
01093              SVN_ERR_MISC_CATEGORY_START + 13,
01094              "Python exception has been set with the error")
01095 
01096   SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
01097              SVN_ERR_MISC_CATEGORY_START + 14,
01098              "A checksum mismatch occurred")
01099 
01100   SVN_ERRDEF(SVN_ERR_CANCELLED,
01101              SVN_ERR_MISC_CATEGORY_START + 15,
01102              "The operation was interrupted")
01103 
01104   SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
01105              SVN_ERR_MISC_CATEGORY_START + 16,
01106              "The specified diff option is not supported")
01107 
01108   SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
01109              SVN_ERR_MISC_CATEGORY_START + 17,
01110              "Property not found")
01111 
01112   SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
01113              SVN_ERR_MISC_CATEGORY_START + 18,
01114              "No auth file path available")
01115 
01116   /** @since New in 1.1. */
01117   SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
01118              SVN_ERR_MISC_CATEGORY_START + 19,
01119              "Incompatible library version")
01120 
01121   /** @since New in 1.5. */
01122   SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
01123              SVN_ERR_MISC_CATEGORY_START + 20,
01124              "Mergeinfo parse error")
01125 
01126   /** @since New in 1.5. */
01127   SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
01128              SVN_ERR_MISC_CATEGORY_START + 21,
01129              "Cease invocation of this API")
01130 
01131   /** @since New in 1.5. */
01132   SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
01133              SVN_ERR_MISC_CATEGORY_START + 22,
01134              "Error parsing revision number")
01135 
01136   /** @since New in 1.5. */
01137   SVN_ERRDEF(SVN_ERR_ITER_BREAK,
01138              SVN_ERR_MISC_CATEGORY_START + 23,
01139              "Iteration terminated before completion")
01140 
01141   /** @since New in 1.5. */
01142   SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
01143              SVN_ERR_MISC_CATEGORY_START + 24,
01144              "Unknown changelist")
01145   
01146   /** @since New in 1.5. */
01147   SVN_ERRDEF(SVN_ERR_RESERVED_FILENAME_SPECIFIED,
01148              SVN_ERR_MISC_CATEGORY_START + 25,
01149              "Reserved directory name in command line arguments")
01150 
01151   /** @since New in 1.5. */
01152   SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
01153              SVN_ERR_MISC_CATEGORY_START + 26,
01154              "Inquiry about unknown capability")
01155 
01156   /* command-line client errors */
01157 
01158   SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
01159              SVN_ERR_CL_CATEGORY_START + 0,
01160              "Error parsing arguments")
01161 
01162   SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
01163              SVN_ERR_CL_CATEGORY_START + 1,
01164              "Not enough arguments provided")
01165 
01166   SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
01167              SVN_ERR_CL_CATEGORY_START + 2,
01168              "Mutually exclusive arguments specified")
01169 
01170   SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
01171              SVN_ERR_CL_CATEGORY_START + 3,
01172              "Attempted command in administrative dir")
01173 
01174   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
01175              SVN_ERR_CL_CATEGORY_START + 4,
01176              "The log message file is under version control")
01177 
01178   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
01179              SVN_ERR_CL_CATEGORY_START + 5,
01180              "The log message is a pathname")
01181 
01182   SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
01183              SVN_ERR_CL_CATEGORY_START + 6,
01184              "Committing in directory scheduled for addition")
01185 
01186   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
01187              SVN_ERR_CL_CATEGORY_START + 7,
01188              "No external editor available")
01189 
01190   SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
01191              SVN_ERR_CL_CATEGORY_START + 8,
01192              "Something is wrong with the log message's contents")
01193 
01194   SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE,
01195              SVN_ERR_CL_CATEGORY_START + 9,
01196              "A log message was given where none was necessary")
01197 
01198   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL,
01199              SVN_ERR_CL_CATEGORY_START + 10,
01200              "No external merge tool available")
01201 
01202 SVN_ERROR_END
01203 
01204 
01205 #undef SVN_ERROR_START
01206 #undef SVN_ERRDEF
01207 #undef SVN_ERROR_END
01208 
01209 #ifdef __cplusplus
01210 }
01211 #endif /* __cplusplus */
01212 
01213 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */

Generated on Wed Oct 22 14:54:29 2008 for Subversion by  doxygen 1.4.7