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   SVN_ERRDEF(SVN_ERR_RA_DAV_PATH_NOT_FOUND,
00778              SVN_ERR_RA_DAV_CATEGORY_START + 7,
00779              "HTTP Path Not Found")
00780 
00781   SVN_ERRDEF(SVN_ERR_RA_DAV_PROPPATCH_FAILED,
00782              SVN_ERR_RA_DAV_CATEGORY_START + 8,
00783              "Failed to execute WebDAV PROPPATCH")
00784 
00785   /** @since New in 1.2. */
00786   SVN_ERRDEF(SVN_ERR_RA_DAV_MALFORMED_DATA,
00787              SVN_ERR_RA_DAV_CATEGORY_START + 9,
00788              "Malformed network data")
00789 
00790   /** @since New in 1.3 */
00791   SVN_ERRDEF(SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,
00792              SVN_ERR_RA_DAV_CATEGORY_START + 10,
00793              "Unable to extract data from response header")
00794 
00795   /** @since New in 1.5 */
00796   SVN_ERRDEF(SVN_ERR_RA_DAV_RELOCATED,
00797              SVN_ERR_RA_DAV_CATEGORY_START + 11,
00798              "Repository has been moved")
00799 
00800   /* ra_local errors */
00801 
00802   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
00803              SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
00804              "Couldn't find a repository")
00805 
00806   SVN_ERRDEF(SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
00807              SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
00808              "Couldn't open a repository")
00809   /* ra_svn errors */
00810 
00811   SVN_ERRDEF(SVN_ERR_RA_SVN_CMD_ERR,
00812              SVN_ERR_RA_SVN_CATEGORY_START + 0,
00813              "Special code for wrapping server errors to report to client")
00814 
00815   SVN_ERRDEF(SVN_ERR_RA_SVN_UNKNOWN_CMD,
00816              SVN_ERR_RA_SVN_CATEGORY_START + 1,
00817              "Unknown svn protocol command")
00818 
00819   SVN_ERRDEF(SVN_ERR_RA_SVN_CONNECTION_CLOSED,
00820              SVN_ERR_RA_SVN_CATEGORY_START + 2,
00821              "Network connection closed unexpectedly")
00822 
00823   SVN_ERRDEF(SVN_ERR_RA_SVN_IO_ERROR,
00824              SVN_ERR_RA_SVN_CATEGORY_START + 3,
00825              "Network read/write error")
00826 
00827   SVN_ERRDEF(SVN_ERR_RA_SVN_MALFORMED_DATA,
00828              SVN_ERR_RA_SVN_CATEGORY_START + 4,
00829              "Malformed network data")
00830 
00831   SVN_ERRDEF(SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
00832              SVN_ERR_RA_SVN_CATEGORY_START + 5,
00833              "Couldn't find a repository")
00834 
00835   SVN_ERRDEF(SVN_ERR_RA_SVN_BAD_VERSION,
00836              SVN_ERR_RA_SVN_CATEGORY_START + 6,
00837              "Client/server version mismatch")
00838 
00839   /** @since New in 1.5. */
00840   SVN_ERRDEF(SVN_ERR_RA_SVN_NO_MECHANISMS,
00841              SVN_ERR_RA_SVN_CATEGORY_START + 7,
00842              "Cannot negotiate authentication mechanism")
00843 
00844   /* libsvn_ra_serf errors */
00845   /** @since New in 1.5. */
00846   SVN_ERRDEF(SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED,
00847              SVN_ERR_RA_SERF_CATEGORY_START + 0,
00848              "Initialization of SSPI library failed")
00849   /** @since New in 1.5. */
00850   SVN_ERRDEF(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED,
00851              SVN_ERR_RA_SERF_CATEGORY_START + 1,
00852              "Server SSL certificate untrusted")
00853 
00854   /* libsvn_auth errors */
00855 
00856        /* this error can be used when an auth provider doesn't have
00857           the creds, but no other "real" error occurred. */
00858   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
00859              SVN_ERR_AUTHN_CATEGORY_START + 0,
00860              "Credential data unavailable")
00861 
00862   SVN_ERRDEF(SVN_ERR_AUTHN_NO_PROVIDER,
00863              SVN_ERR_AUTHN_CATEGORY_START + 1,
00864              "No authentication provider available")
00865 
00866   SVN_ERRDEF(SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
00867              SVN_ERR_AUTHN_CATEGORY_START + 2,
00868              "All authentication providers exhausted")
00869 
00870   SVN_ERRDEF(SVN_ERR_AUTHN_CREDS_NOT_SAVED,
00871              SVN_ERR_AUTHN_CATEGORY_START + 3,
00872              "Credentials not saved")
00873 
00874   /** @since New in 1.5. */
00875   SVN_ERRDEF(SVN_ERR_AUTHN_FAILED,
00876              SVN_ERR_AUTHN_CATEGORY_START + 4,
00877              "Authentication failed")
00878 
00879   /* authorization errors */
00880 
00881   SVN_ERRDEF(SVN_ERR_AUTHZ_ROOT_UNREADABLE,
00882              SVN_ERR_AUTHZ_CATEGORY_START + 0,
00883              "Read access denied for root of edit")
00884 
00885   /** @since New in 1.1. */
00886   SVN_ERRDEF(SVN_ERR_AUTHZ_UNREADABLE,
00887              SVN_ERR_AUTHZ_CATEGORY_START + 1,
00888              "Item is not readable")
00889 
00890   /** @since New in 1.1. */
00891   SVN_ERRDEF(SVN_ERR_AUTHZ_PARTIALLY_READABLE,
00892              SVN_ERR_AUTHZ_CATEGORY_START + 2,
00893              "Item is partially readable")
00894 
00895   SVN_ERRDEF(SVN_ERR_AUTHZ_INVALID_CONFIG,
00896              SVN_ERR_AUTHZ_CATEGORY_START + 3,
00897              "Invalid authz configuration")
00898 
00899   /** @since New in 1.3 */
00900   SVN_ERRDEF(SVN_ERR_AUTHZ_UNWRITABLE,
00901              SVN_ERR_AUTHZ_CATEGORY_START + 4,
00902              "Item is not writable")
00903 
00904   /* svndiff errors */
00905 
00906   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_HEADER,
00907              SVN_ERR_SVNDIFF_CATEGORY_START + 0,
00908              "Svndiff data has invalid header")
00909 
00910   SVN_ERRDEF(SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
00911              SVN_ERR_SVNDIFF_CATEGORY_START + 1,
00912              "Svndiff data contains corrupt window")
00913 
00914   SVN_ERRDEF(SVN_ERR_SVNDIFF_BACKWARD_VIEW,
00915              SVN_ERR_SVNDIFF_CATEGORY_START + 2,
00916              "Svndiff data contains backward-sliding source view")
00917 
00918   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_OPS,
00919              SVN_ERR_SVNDIFF_CATEGORY_START + 3,
00920              "Svndiff data contains invalid instruction")
00921 
00922   SVN_ERRDEF(SVN_ERR_SVNDIFF_UNEXPECTED_END,
00923              SVN_ERR_SVNDIFF_CATEGORY_START + 4,
00924              "Svndiff data ends unexpectedly")
00925 
00926   SVN_ERRDEF(SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,
00927              SVN_ERR_SVNDIFF_CATEGORY_START + 5,
00928              "Svndiff compressed data is invalid")
00929 
00930   /* libsvn_diff errors */
00931 
00932   SVN_ERRDEF(SVN_ERR_DIFF_DATASOURCE_MODIFIED,
00933              SVN_ERR_DIFF_CATEGORY_START + 0,
00934              "Diff data source modified unexpectedly")
00935 
00936   /* mod_dav_svn errors */
00937 
00938   SVN_ERRDEF(SVN_ERR_APMOD_MISSING_PATH_TO_FS,
00939              SVN_ERR_APMOD_CATEGORY_START + 0,
00940              "Apache has no path to an SVN filesystem")
00941 
00942   SVN_ERRDEF(SVN_ERR_APMOD_MALFORMED_URI,
00943              SVN_ERR_APMOD_CATEGORY_START + 1,
00944              "Apache got a malformed URI")
00945 
00946   SVN_ERRDEF(SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
00947              SVN_ERR_APMOD_CATEGORY_START + 2,
00948              "Activity not found")
00949 
00950   SVN_ERRDEF(SVN_ERR_APMOD_BAD_BASELINE,
00951              SVN_ERR_APMOD_CATEGORY_START + 3,
00952              "Baseline incorrect")
00953 
00954   SVN_ERRDEF(SVN_ERR_APMOD_CONNECTION_ABORTED,
00955              SVN_ERR_APMOD_CATEGORY_START + 4,
00956              "Input/output error")
00957 
00958   /* libsvn_client errors */
00959 
00960   SVN_ERRDEF(SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
00961              SVN_ERR_CLIENT_CATEGORY_START + 0,
00962              "A path under version control is needed for this operation")
00963 
00964   SVN_ERRDEF(SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
00965              SVN_ERR_CLIENT_CATEGORY_START + 1,
00966              "Repository access is needed for this operation")
00967 
00968   SVN_ERRDEF(SVN_ERR_CLIENT_BAD_REVISION,
00969              SVN_ERR_CLIENT_CATEGORY_START + 2,
00970              "Bogus revision information given")
00971 
00972   SVN_ERRDEF(SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
00973              SVN_ERR_CLIENT_CATEGORY_START + 3,
00974              "Attempting to commit to a URL more than once")
00975 
00976   SVN_ERRDEF(SVN_ERR_CLIENT_IS_BINARY_FILE,
00977              SVN_ERR_CLIENT_CATEGORY_START + 4,
00978              "Operation does not apply to binary file")
00979 
00980        /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
00981          in order to get gettext translatable strings */
00982   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
00983              SVN_ERR_CLIENT_CATEGORY_START + 5,
00984              "Format of an svn:externals property was invalid")
00985 
00986   SVN_ERRDEF(SVN_ERR_CLIENT_MODIFIED,
00987              SVN_ERR_CLIENT_CATEGORY_START + 6,
00988              "Attempting restricted operation for modified resource")
00989 
00990   SVN_ERRDEF(SVN_ERR_CLIENT_IS_DIRECTORY,
00991              SVN_ERR_CLIENT_CATEGORY_START + 7,
00992              "Operation does not apply to directory")
00993 
00994   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_RANGE,
00995              SVN_ERR_CLIENT_CATEGORY_START + 8,
00996              "Revision range is not allowed")
00997 
00998   SVN_ERRDEF(SVN_ERR_CLIENT_INVALID_RELOCATION,
00999              SVN_ERR_CLIENT_CATEGORY_START + 9,
01000              "Inter-repository relocation not allowed")
01001 
01002   SVN_ERRDEF(SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
01003              SVN_ERR_CLIENT_CATEGORY_START + 10,
01004              "Author name cannot contain a newline")
01005 
01006   SVN_ERRDEF(SVN_ERR_CLIENT_PROPERTY_NAME,
01007              SVN_ERR_CLIENT_CATEGORY_START + 11,
01008              "Bad property name")
01009 
01010   /** @since New in 1.1. */
01011   SVN_ERRDEF(SVN_ERR_CLIENT_UNRELATED_RESOURCES,
01012              SVN_ERR_CLIENT_CATEGORY_START + 12,
01013              "Two versioned resources are unrelated")
01014 
01015   /** @since New in 1.2. */
01016   SVN_ERRDEF(SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
01017              SVN_ERR_CLIENT_CATEGORY_START + 13,
01018              "Path has no lock token")
01019 
01020   /** @since New in 1.5. */
01021   SVN_ERRDEF(SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED,
01022              SVN_ERR_CLIENT_CATEGORY_START + 14,
01023              "Operation does not support multiple sources")
01024 
01025   /** @since New in 1.5. */
01026   SVN_ERRDEF(SVN_ERR_CLIENT_NO_VERSIONED_PARENT,
01027              SVN_ERR_CLIENT_CATEGORY_START + 15,
01028              "No versioned parent directories")
01029 
01030   /** @since New in 1.5. */
01031   SVN_ERRDEF(SVN_ERR_CLIENT_NOT_READY_TO_MERGE,
01032              SVN_ERR_CLIENT_CATEGORY_START + 16,
01033              "Working copy and merge source not ready for reintegration")
01034 
01035   /* misc errors */
01036 
01037   SVN_ERRDEF(SVN_ERR_BASE,
01038              SVN_ERR_MISC_CATEGORY_START + 0,
01039              "A problem occurred; see later errors for details")
01040 
01041   SVN_ERRDEF(SVN_ERR_PLUGIN_LOAD_FAILURE,
01042              SVN_ERR_MISC_CATEGORY_START + 1,
01043              "Failure loading plugin")
01044 
01045   SVN_ERRDEF(SVN_ERR_MALFORMED_FILE,
01046              SVN_ERR_MISC_CATEGORY_START + 2,
01047              "Malformed file")
01048 
01049   SVN_ERRDEF(SVN_ERR_INCOMPLETE_DATA,
01050              SVN_ERR_MISC_CATEGORY_START + 3,
01051              "Incomplete data")
01052 
01053   SVN_ERRDEF(SVN_ERR_INCORRECT_PARAMS,
01054              SVN_ERR_MISC_CATEGORY_START + 4,
01055              "Incorrect parameters given")
01056 
01057   SVN_ERRDEF(SVN_ERR_UNVERSIONED_RESOURCE,
01058              SVN_ERR_MISC_CATEGORY_START + 5,
01059              "Tried a versioning operation on an unversioned resource")
01060 
01061   SVN_ERRDEF(SVN_ERR_TEST_FAILED,
01062              SVN_ERR_MISC_CATEGORY_START + 6,
01063              "Test failed")
01064 
01065   SVN_ERRDEF(SVN_ERR_UNSUPPORTED_FEATURE,
01066              SVN_ERR_MISC_CATEGORY_START + 7,
01067              "Trying to use an unsupported feature")
01068 
01069   SVN_ERRDEF(SVN_ERR_BAD_PROP_KIND,
01070              SVN_ERR_MISC_CATEGORY_START + 8,
01071              "Unexpected or unknown property kind")
01072 
01073   SVN_ERRDEF(SVN_ERR_ILLEGAL_TARGET,
01074              SVN_ERR_MISC_CATEGORY_START + 9,
01075              "Illegal target for the requested operation")
01076 
01077   SVN_ERRDEF(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
01078              SVN_ERR_MISC_CATEGORY_START + 10,
01079              "MD5 checksum is missing")
01080 
01081   SVN_ERRDEF(SVN_ERR_DIR_NOT_EMPTY,
01082              SVN_ERR_MISC_CATEGORY_START + 11,
01083              "Directory needs to be empty but is not")
01084 
01085   SVN_ERRDEF(SVN_ERR_EXTERNAL_PROGRAM,
01086              SVN_ERR_MISC_CATEGORY_START + 12,
01087              "Error calling external program")
01088 
01089   SVN_ERRDEF(SVN_ERR_SWIG_PY_EXCEPTION_SET,
01090              SVN_ERR_MISC_CATEGORY_START + 13,
01091              "Python exception has been set with the error")
01092 
01093   SVN_ERRDEF(SVN_ERR_CHECKSUM_MISMATCH,
01094              SVN_ERR_MISC_CATEGORY_START + 14,
01095              "A checksum mismatch occurred")
01096 
01097   SVN_ERRDEF(SVN_ERR_CANCELLED,
01098              SVN_ERR_MISC_CATEGORY_START + 15,
01099              "The operation was interrupted")
01100 
01101   SVN_ERRDEF(SVN_ERR_INVALID_DIFF_OPTION,
01102              SVN_ERR_MISC_CATEGORY_START + 16,
01103              "The specified diff option is not supported")
01104 
01105   SVN_ERRDEF(SVN_ERR_PROPERTY_NOT_FOUND,
01106              SVN_ERR_MISC_CATEGORY_START + 17,
01107              "Property not found")
01108 
01109   SVN_ERRDEF(SVN_ERR_NO_AUTH_FILE_PATH,
01110              SVN_ERR_MISC_CATEGORY_START + 18,
01111              "No auth file path available")
01112 
01113   /** @since New in 1.1. */
01114   SVN_ERRDEF(SVN_ERR_VERSION_MISMATCH,
01115              SVN_ERR_MISC_CATEGORY_START + 19,
01116              "Incompatible library version")
01117 
01118   /** @since New in 1.5. */
01119   SVN_ERRDEF(SVN_ERR_MERGEINFO_PARSE_ERROR,
01120              SVN_ERR_MISC_CATEGORY_START + 20,
01121              "Mergeinfo parse error")
01122 
01123   /** @since New in 1.5. */
01124   SVN_ERRDEF(SVN_ERR_CEASE_INVOCATION,
01125              SVN_ERR_MISC_CATEGORY_START + 21,
01126              "Cease invocation of this API")
01127 
01128   /** @since New in 1.5. */
01129   SVN_ERRDEF(SVN_ERR_REVNUM_PARSE_FAILURE,
01130              SVN_ERR_MISC_CATEGORY_START + 22,
01131              "Error parsing revision number")
01132 
01133   /** @since New in 1.5. */
01134   SVN_ERRDEF(SVN_ERR_ITER_BREAK,
01135              SVN_ERR_MISC_CATEGORY_START + 23,
01136              "Iteration terminated before completion")
01137 
01138   /** @since New in 1.5. */
01139   SVN_ERRDEF(SVN_ERR_UNKNOWN_CHANGELIST,
01140              SVN_ERR_MISC_CATEGORY_START + 24,
01141              "Unknown changelist")
01142   
01143   /** @since New in 1.5. */
01144   SVN_ERRDEF(SVN_ERR_RESERVED_FILENAME_SPECIFIED,
01145              SVN_ERR_MISC_CATEGORY_START + 25,
01146              "Reserved directory name in command line arguments")
01147 
01148   /** @since New in 1.5. */
01149   SVN_ERRDEF(SVN_ERR_UNKNOWN_CAPABILITY,
01150              SVN_ERR_MISC_CATEGORY_START + 26,
01151              "Inquiry about unknown capability")
01152 
01153   /* command-line client errors */
01154 
01155   SVN_ERRDEF(SVN_ERR_CL_ARG_PARSING_ERROR,
01156              SVN_ERR_CL_CATEGORY_START + 0,
01157              "Error parsing arguments")
01158 
01159   SVN_ERRDEF(SVN_ERR_CL_INSUFFICIENT_ARGS,
01160              SVN_ERR_CL_CATEGORY_START + 1,
01161              "Not enough arguments provided")
01162 
01163   SVN_ERRDEF(SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
01164              SVN_ERR_CL_CATEGORY_START + 2,
01165              "Mutually exclusive arguments specified")
01166 
01167   SVN_ERRDEF(SVN_ERR_CL_ADM_DIR_RESERVED,
01168              SVN_ERR_CL_CATEGORY_START + 3,
01169              "Attempted command in administrative dir")
01170 
01171   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
01172              SVN_ERR_CL_CATEGORY_START + 4,
01173              "The log message file is under version control")
01174 
01175   SVN_ERRDEF(SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
01176              SVN_ERR_CL_CATEGORY_START + 5,
01177              "The log message is a pathname")
01178 
01179   SVN_ERRDEF(SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
01180              SVN_ERR_CL_CATEGORY_START + 6,
01181              "Committing in directory scheduled for addition")
01182 
01183   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_EDITOR,
01184              SVN_ERR_CL_CATEGORY_START + 7,
01185              "No external editor available")
01186 
01187   SVN_ERRDEF(SVN_ERR_CL_BAD_LOG_MESSAGE,
01188              SVN_ERR_CL_CATEGORY_START + 8,
01189              "Something is wrong with the log message's contents")
01190 
01191   SVN_ERRDEF(SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE,
01192              SVN_ERR_CL_CATEGORY_START + 9,
01193              "A log message was given where none was necessary")
01194 
01195   SVN_ERRDEF(SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL,
01196              SVN_ERR_CL_CATEGORY_START + 10,
01197              "No external merge tool available")
01198 
01199 SVN_ERROR_END
01200 
01201 
01202 #undef SVN_ERROR_START
01203 #undef SVN_ERRDEF
01204 #undef SVN_ERROR_END
01205 
01206 #ifdef __cplusplus
01207 }
01208 #endif /* __cplusplus */
01209 
01210 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */

Generated on Thu Dec 11 18:28:16 2008 for Subversion by  doxygen 1.5.1