Main Page   Modules   Data Structures   File List   Data Fields  

svn_error_codes.h

00001 /**
00002  * @copyright
00003  * ====================================================================
00004  * Copyright (c) 2000-2004 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 
00142 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00143 
00144 /** Collection of Subversion error code values, located within the
00145  * APR user error space. */
00146 SVN_ERROR_START
00147 
00148   /* validation ("BAD_FOO") errors */
00149 
00150   SVN_ERRDEF (SVN_ERR_BAD_CONTAINING_POOL,
00151               SVN_ERR_BAD_CATEGORY_START + 0,
00152               "Bad parent pool passed to svn_make_pool()")
00153 
00154   SVN_ERRDEF (SVN_ERR_BAD_FILENAME,
00155               SVN_ERR_BAD_CATEGORY_START + 1,
00156               "Bogus filename")
00157 
00158   SVN_ERRDEF (SVN_ERR_BAD_URL,
00159               SVN_ERR_BAD_CATEGORY_START + 2,
00160               "Bogus URL")
00161 
00162   SVN_ERRDEF (SVN_ERR_BAD_DATE,
00163               SVN_ERR_BAD_CATEGORY_START + 3,
00164               "Bogus date")
00165 
00166   SVN_ERRDEF (SVN_ERR_BAD_MIME_TYPE,
00167               SVN_ERR_BAD_CATEGORY_START + 4,
00168               "Bogus mime-type")
00169 
00170   /* UNUSED error slot:                  + 5 */
00171 
00172   SVN_ERRDEF (SVN_ERR_BAD_VERSION_FILE_FORMAT,
00173               SVN_ERR_BAD_CATEGORY_START + 6,
00174               "Version file format not correct")
00175 
00176   /* xml errors */
00177 
00178   SVN_ERRDEF (SVN_ERR_XML_ATTRIB_NOT_FOUND,
00179               SVN_ERR_XML_CATEGORY_START + 0,
00180               "No such XML tag attribute")
00181 
00182   SVN_ERRDEF (SVN_ERR_XML_MISSING_ANCESTRY,
00183               SVN_ERR_XML_CATEGORY_START + 1,
00184               "<delta-pkg> is missing ancestry")
00185 
00186   SVN_ERRDEF (SVN_ERR_XML_UNKNOWN_ENCODING,
00187               SVN_ERR_XML_CATEGORY_START + 2,
00188               "Unrecognized binary data encoding; can't decode")
00189 
00190   SVN_ERRDEF (SVN_ERR_XML_MALFORMED,
00191               SVN_ERR_XML_CATEGORY_START + 3,
00192               "XML data was not well-formed")
00193 
00194   SVN_ERRDEF (SVN_ERR_XML_UNESCAPABLE_DATA,
00195               SVN_ERR_XML_CATEGORY_START + 4,
00196               "Data cannot be safely XML-escaped")
00197 
00198   /* io errors */
00199 
00200   SVN_ERRDEF (SVN_ERR_IO_INCONSISTENT_EOL,
00201               SVN_ERR_IO_CATEGORY_START + 0,
00202               "Inconsistent line ending style")
00203 
00204   SVN_ERRDEF (SVN_ERR_IO_UNKNOWN_EOL,
00205               SVN_ERR_IO_CATEGORY_START + 1,
00206               "Unrecognized line ending style")
00207 
00208   /* @deprecated Unused, slated for removal in the next major release. */
00209   SVN_ERRDEF (SVN_ERR_IO_CORRUPT_EOL,
00210               SVN_ERR_IO_CATEGORY_START + 2,
00211               "Line endings other than expected")
00212 
00213   SVN_ERRDEF (SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED,
00214               SVN_ERR_IO_CATEGORY_START + 3,
00215               "Ran out of unique names")
00216 
00217   /* @deprecated Unused, slated for removal in the next major release. */
00218   SVN_ERRDEF (SVN_ERR_IO_PIPE_FRAME_ERROR,
00219               SVN_ERR_IO_CATEGORY_START + 4,
00220               "Framing error in pipe protocol")
00221 
00222   /* @deprecated Unused, slated for removal in the next major release. */
00223   SVN_ERRDEF (SVN_ERR_IO_PIPE_READ_ERROR,
00224               SVN_ERR_IO_CATEGORY_START + 5,
00225               "Read error in pipe")
00226 
00227   SVN_ERRDEF (SVN_ERR_IO_WRITE_ERROR,
00228               SVN_ERR_IO_CATEGORY_START + 6,
00229               "Write error")
00230 
00231   /* stream errors */
00232 
00233   SVN_ERRDEF (SVN_ERR_STREAM_UNEXPECTED_EOF,
00234               SVN_ERR_STREAM_CATEGORY_START + 0,
00235               "Unexpected EOF on stream")
00236 
00237   SVN_ERRDEF (SVN_ERR_STREAM_MALFORMED_DATA,
00238               SVN_ERR_STREAM_CATEGORY_START + 1,
00239               "Malformed stream data")
00240 
00241   SVN_ERRDEF (SVN_ERR_STREAM_UNRECOGNIZED_DATA,
00242               SVN_ERR_STREAM_CATEGORY_START + 2,
00243               "Unrecognized stream data")
00244 
00245   /* node errors */
00246 
00247   SVN_ERRDEF (SVN_ERR_NODE_UNKNOWN_KIND,
00248               SVN_ERR_NODE_CATEGORY_START + 0,
00249               "Unknown svn_node_kind")
00250 
00251   SVN_ERRDEF (SVN_ERR_NODE_UNEXPECTED_KIND,
00252               SVN_ERR_NODE_CATEGORY_START + 1,
00253               "Unexpected node kind found")
00254 
00255   /* entry errors */
00256 
00257   SVN_ERRDEF (SVN_ERR_ENTRY_NOT_FOUND,
00258               SVN_ERR_ENTRY_CATEGORY_START + 0,
00259               "Can't find an entry")
00260 
00261   /* UNUSED error slot:                    + 1 */
00262 
00263   SVN_ERRDEF (SVN_ERR_ENTRY_EXISTS,
00264               SVN_ERR_ENTRY_CATEGORY_START + 2,
00265               "Entry already exists")
00266 
00267   SVN_ERRDEF (SVN_ERR_ENTRY_MISSING_REVISION,
00268               SVN_ERR_ENTRY_CATEGORY_START + 3,
00269               "Entry has no revision")
00270 
00271   SVN_ERRDEF (SVN_ERR_ENTRY_MISSING_URL,
00272               SVN_ERR_ENTRY_CATEGORY_START + 4,
00273               "Entry has no URL")
00274 
00275   SVN_ERRDEF (SVN_ERR_ENTRY_ATTRIBUTE_INVALID,
00276               SVN_ERR_ENTRY_CATEGORY_START + 5,
00277               "Entry has an invalid attribute")
00278 
00279   /* wc errors */
00280 
00281   SVN_ERRDEF (SVN_ERR_WC_OBSTRUCTED_UPDATE,
00282               SVN_ERR_WC_CATEGORY_START + 0,
00283               "Obstructed update")
00284 
00285   /* @deprecated Unused, slated for removal in the next major release. */
00286   SVN_ERRDEF (SVN_ERR_WC_UNWIND_MISMATCH,
00287               SVN_ERR_WC_CATEGORY_START + 1,
00288               "Mismatch popping the WC unwind stack")
00289 
00290   /* @deprecated Unused, slated for removal in the next major release. */
00291   SVN_ERRDEF (SVN_ERR_WC_UNWIND_EMPTY,
00292               SVN_ERR_WC_CATEGORY_START + 2,
00293               "Attempt to pop empty WC unwind stack")
00294 
00295   /* @deprecated Unused, slated for removal in the next major release. */
00296   SVN_ERRDEF (SVN_ERR_WC_UNWIND_NOT_EMPTY,
00297               SVN_ERR_WC_CATEGORY_START + 3,
00298               "Attempt to unlock with non-empty unwind stack")
00299 
00300   SVN_ERRDEF (SVN_ERR_WC_LOCKED,
00301               SVN_ERR_WC_CATEGORY_START + 4,
00302               "Attempted to lock an already-locked dir")
00303 
00304   SVN_ERRDEF (SVN_ERR_WC_NOT_LOCKED,
00305               SVN_ERR_WC_CATEGORY_START + 5,
00306               "Working copy not locked; this is probably a bug, please report")
00307 
00308   /* @deprecated Unused, slated for removal in the next major release. */
00309   SVN_ERRDEF (SVN_ERR_WC_INVALID_LOCK,
00310               SVN_ERR_WC_CATEGORY_START + 6,
00311               "Invalid lock")
00312 
00313   SVN_ERRDEF (SVN_ERR_WC_NOT_DIRECTORY,
00314               SVN_ERR_WC_CATEGORY_START + 7,
00315               "Path is not a working copy directory")
00316 
00317   SVN_ERRDEF (SVN_ERR_WC_NOT_FILE,
00318               SVN_ERR_WC_CATEGORY_START + 8,
00319               "Path is not a working copy file")
00320 
00321   SVN_ERRDEF (SVN_ERR_WC_BAD_ADM_LOG,
00322               SVN_ERR_WC_CATEGORY_START + 9,
00323               "Problem running log")
00324 
00325   SVN_ERRDEF (SVN_ERR_WC_PATH_NOT_FOUND,
00326               SVN_ERR_WC_CATEGORY_START + 10,
00327               "Can't find a working copy path")
00328 
00329   SVN_ERRDEF (SVN_ERR_WC_NOT_UP_TO_DATE,
00330               SVN_ERR_WC_CATEGORY_START + 11,
00331               "Working copy is not up-to-date")
00332 
00333   SVN_ERRDEF (SVN_ERR_WC_LEFT_LOCAL_MOD,
00334               SVN_ERR_WC_CATEGORY_START + 12,
00335               "Left locally modified or unversioned files")
00336 
00337   SVN_ERRDEF (SVN_ERR_WC_SCHEDULE_CONFLICT,
00338               SVN_ERR_WC_CATEGORY_START + 13,
00339               "Unmergeable scheduling requested on an entry")
00340 
00341   SVN_ERRDEF (SVN_ERR_WC_PATH_FOUND,
00342               SVN_ERR_WC_CATEGORY_START + 14,
00343               "Found a working copy path")
00344 
00345   SVN_ERRDEF (SVN_ERR_WC_FOUND_CONFLICT,
00346               SVN_ERR_WC_CATEGORY_START + 15,
00347               "A conflict in the working copy obstructs the current operation")
00348 
00349   SVN_ERRDEF (SVN_ERR_WC_CORRUPT,
00350               SVN_ERR_WC_CATEGORY_START + 16,
00351               "Working copy is corrupt")
00352 
00353   SVN_ERRDEF (SVN_ERR_WC_CORRUPT_TEXT_BASE,
00354               SVN_ERR_WC_CATEGORY_START + 17,
00355               "Working copy text base is corrupt")
00356 
00357   SVN_ERRDEF (SVN_ERR_WC_NODE_KIND_CHANGE,
00358               SVN_ERR_WC_CATEGORY_START + 18,
00359               "Cannot change node kind")
00360 
00361   SVN_ERRDEF (SVN_ERR_WC_INVALID_OP_ON_CWD,
00362               SVN_ERR_WC_CATEGORY_START + 19,
00363               "Invalid operation on the current working directory")  
00364 
00365   SVN_ERRDEF (SVN_ERR_WC_BAD_ADM_LOG_START,
00366               SVN_ERR_WC_CATEGORY_START + 20,
00367               "Problem on first log entry in a working copy")
00368 
00369   SVN_ERRDEF (SVN_ERR_WC_UNSUPPORTED_FORMAT,
00370               SVN_ERR_WC_CATEGORY_START + 21,
00371               "Unsupported working copy format")  
00372 
00373   SVN_ERRDEF (SVN_ERR_WC_BAD_PATH,
00374               SVN_ERR_WC_CATEGORY_START + 22,
00375               "Path syntax not supported in this context")  
00376 
00377   /* @since New in 1.2. */
00378   SVN_ERRDEF (SVN_ERR_WC_INVALID_SCHEDULE,
00379               SVN_ERR_WC_CATEGORY_START + 23,
00380               "Invalid schedule")  
00381 
00382   /* fs errors */
00383 
00384   SVN_ERRDEF (SVN_ERR_FS_GENERAL,
00385               SVN_ERR_FS_CATEGORY_START + 0,
00386               "General filesystem error")
00387 
00388   SVN_ERRDEF (SVN_ERR_FS_CLEANUP,
00389               SVN_ERR_FS_CATEGORY_START + 1,
00390               "Error closing filesystem")
00391 
00392   SVN_ERRDEF (SVN_ERR_FS_ALREADY_OPEN,
00393               SVN_ERR_FS_CATEGORY_START + 2,
00394               "Filesystem is already open")
00395 
00396   SVN_ERRDEF (SVN_ERR_FS_NOT_OPEN,
00397               SVN_ERR_FS_CATEGORY_START + 3,
00398               "Filesystem is not open")
00399 
00400   SVN_ERRDEF (SVN_ERR_FS_CORRUPT,
00401               SVN_ERR_FS_CATEGORY_START + 4,
00402               "Filesystem is corrupt")
00403 
00404   SVN_ERRDEF (SVN_ERR_FS_PATH_SYNTAX,
00405               SVN_ERR_FS_CATEGORY_START + 5,
00406               "Invalid filesystem path syntax")
00407 
00408   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_REVISION,
00409               SVN_ERR_FS_CATEGORY_START + 6,
00410               "Invalid filesystem revision number")
00411 
00412   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_TRANSACTION,
00413               SVN_ERR_FS_CATEGORY_START + 7,
00414               "Invalid filesystem transaction name")
00415 
00416   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_ENTRY,
00417               SVN_ERR_FS_CATEGORY_START + 8,
00418               "Filesystem directory has no such entry")
00419 
00420   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_REPRESENTATION,
00421               SVN_ERR_FS_CATEGORY_START + 9,
00422               "Filesystem has no such representation")
00423 
00424   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_STRING,
00425               SVN_ERR_FS_CATEGORY_START + 10,
00426               "Filesystem has no such string")
00427 
00428   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_COPY,
00429               SVN_ERR_FS_CATEGORY_START + 11,
00430               "Filesystem has no such copy")
00431 
00432   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_NOT_MUTABLE,
00433               SVN_ERR_FS_CATEGORY_START + 12,
00434               "The specified transaction is not mutable")
00435 
00436   SVN_ERRDEF (SVN_ERR_FS_NOT_FOUND,
00437               SVN_ERR_FS_CATEGORY_START + 13,
00438               "Filesystem has no item")
00439 
00440   SVN_ERRDEF (SVN_ERR_FS_ID_NOT_FOUND,
00441               SVN_ERR_FS_CATEGORY_START + 14,
00442               "Filesystem has no such node-rev-id")
00443 
00444   SVN_ERRDEF (SVN_ERR_FS_NOT_ID,
00445               SVN_ERR_FS_CATEGORY_START + 15,
00446               "String does not represent a node or node-rev-id")
00447 
00448   SVN_ERRDEF (SVN_ERR_FS_NOT_DIRECTORY,
00449               SVN_ERR_FS_CATEGORY_START + 16,
00450               "Name does not refer to a filesystem directory")
00451 
00452   SVN_ERRDEF (SVN_ERR_FS_NOT_FILE,
00453               SVN_ERR_FS_CATEGORY_START + 17,
00454               "Name does not refer to a filesystem file")
00455 
00456   SVN_ERRDEF (SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,
00457               SVN_ERR_FS_CATEGORY_START + 18,
00458               "Name is not a single path component")
00459 
00460   SVN_ERRDEF (SVN_ERR_FS_NOT_MUTABLE,
00461               SVN_ERR_FS_CATEGORY_START + 19,
00462               "Attempt to change immutable filesystem node")
00463 
00464   SVN_ERRDEF (SVN_ERR_FS_ALREADY_EXISTS,
00465               SVN_ERR_FS_CATEGORY_START + 20,
00466               "Item already exists in filesystem")
00467 
00468   SVN_ERRDEF (SVN_ERR_FS_ROOT_DIR,
00469               SVN_ERR_FS_CATEGORY_START + 21,
00470               "Attempt to remove or recreate fs root dir")
00471 
00472   SVN_ERRDEF (SVN_ERR_FS_NOT_TXN_ROOT,
00473               SVN_ERR_FS_CATEGORY_START + 22,
00474               "Object is not a transaction root")
00475 
00476   SVN_ERRDEF (SVN_ERR_FS_NOT_REVISION_ROOT,
00477               SVN_ERR_FS_CATEGORY_START + 23,
00478               "Object is not a revision root")
00479 
00480   SVN_ERRDEF (SVN_ERR_FS_CONFLICT,
00481               SVN_ERR_FS_CATEGORY_START + 24,
00482               "Merge conflict during commit")
00483 
00484   SVN_ERRDEF (SVN_ERR_FS_REP_CHANGED,
00485               SVN_ERR_FS_CATEGORY_START + 25,
00486               "A representation vanished or changed between reads")
00487 
00488   SVN_ERRDEF (SVN_ERR_FS_REP_NOT_MUTABLE,
00489               SVN_ERR_FS_CATEGORY_START + 26,
00490               "Tried to change an immutable representation")
00491 
00492   SVN_ERRDEF (SVN_ERR_FS_MALFORMED_SKEL,
00493               SVN_ERR_FS_CATEGORY_START + 27,
00494               "Malformed skeleton data")
00495 
00496   SVN_ERRDEF (SVN_ERR_FS_TXN_OUT_OF_DATE,
00497               SVN_ERR_FS_CATEGORY_START + 28,
00498               "Transaction is out of date")
00499 
00500   SVN_ERRDEF (SVN_ERR_FS_BERKELEY_DB,
00501               SVN_ERR_FS_CATEGORY_START + 29,
00502               "Berkeley DB error")
00503 
00504   SVN_ERRDEF (SVN_ERR_FS_BERKELEY_DB_DEADLOCK,
00505               SVN_ERR_FS_CATEGORY_START + 30,
00506               "Berkeley DB deadlock error")
00507 
00508   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_DEAD,
00509               SVN_ERR_FS_CATEGORY_START + 31,
00510               "Transaction is dead")
00511 
00512   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_NOT_DEAD,
00513               SVN_ERR_FS_CATEGORY_START + 32,
00514               "Transaction is not dead")
00515 
00516   /* @since New in 1.1. */
00517   SVN_ERRDEF (SVN_ERR_FS_UNKNOWN_FS_TYPE,
00518               SVN_ERR_FS_CATEGORY_START + 33,
00519               "Unknown FS type")
00520 
00521   /* @since New in 1.2 */
00522   SVN_ERRDEF (SVN_ERR_FS_NO_USER,
00523               SVN_ERR_FS_CATEGORY_START + 34,
00524               "No user associated with filesystem")
00525 
00526   /* @since New in 1.2. */
00527   SVN_ERRDEF (SVN_ERR_FS_PATH_ALREADY_LOCKED,
00528               SVN_ERR_FS_CATEGORY_START + 35,
00529               "Path is already locked")
00530 
00531   /* @since New in 1.2. */
00532   SVN_ERRDEF (SVN_ERR_FS_PATH_NOT_LOCKED,
00533               SVN_ERR_FS_CATEGORY_START + 36,
00534               "Path is not locked")
00535 
00536   /* @since New in 1.2. */
00537   SVN_ERRDEF (SVN_ERR_FS_BAD_LOCK_TOKEN,
00538               SVN_ERR_FS_CATEGORY_START + 37,
00539               "Lock token is incorrect")
00540 
00541   /* @since New in 1.2. */
00542   SVN_ERRDEF (SVN_ERR_FS_NO_LOCK_TOKEN,
00543               SVN_ERR_FS_CATEGORY_START + 38,
00544               "No lock token provided")
00545 
00546   /* @since New in 1.2. */
00547   SVN_ERRDEF (SVN_ERR_FS_LOCK_OWNER_MISMATCH,
00548               SVN_ERR_FS_CATEGORY_START + 39,
00549               "Username does not match lock owner")
00550 
00551   /* @since New in 1.2. */
00552   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_LOCK,
00553               SVN_ERR_FS_CATEGORY_START + 40,
00554               "Filesystem has no such lock")
00555 
00556   /* @since New in 1.2. */
00557   SVN_ERRDEF (SVN_ERR_FS_LOCK_EXPIRED,
00558               SVN_ERR_FS_CATEGORY_START + 41,
00559               "Lock has expired")
00560 
00561   /* @since New in 1.2. */
00562   SVN_ERRDEF (SVN_ERR_FS_OUT_OF_DATE,
00563               SVN_ERR_FS_CATEGORY_START + 42,
00564               "Item is out of date")
00565 
00566   /* @since New in 1.2.
00567    *
00568    * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION.  To avoid
00569    * confusion with "versions" (i.e., releases) of Subversion, we've
00570    * started calling this the "format" number instead.  The old
00571    * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
00572    * retains its name.
00573    */
00574   SVN_ERRDEF (SVN_ERR_FS_UNSUPPORTED_FORMAT,
00575               SVN_ERR_FS_CATEGORY_START + 43,
00576               "Unsupported FS format")
00577 
00578   /* repos errors */
00579 
00580   SVN_ERRDEF (SVN_ERR_REPOS_LOCKED,
00581               SVN_ERR_REPOS_CATEGORY_START + 0,
00582               "The repository is locked, perhaps for db recovery")
00583 
00584   SVN_ERRDEF (SVN_ERR_REPOS_HOOK_FAILURE,
00585               SVN_ERR_REPOS_CATEGORY_START + 1,
00586               "A repository hook failed")
00587 
00588   SVN_ERRDEF (SVN_ERR_REPOS_BAD_ARGS,
00589               SVN_ERR_REPOS_CATEGORY_START + 2,
00590               "Incorrect arguments supplied")
00591 
00592   SVN_ERRDEF (SVN_ERR_REPOS_NO_DATA_FOR_REPORT,
00593               SVN_ERR_REPOS_CATEGORY_START + 3,
00594               "A report cannot be generated because no data was supplied")
00595 
00596   SVN_ERRDEF (SVN_ERR_REPOS_BAD_REVISION_REPORT,
00597               SVN_ERR_REPOS_CATEGORY_START + 4,
00598               "Bogus revision report")
00599  
00600   /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT.  To avoid
00601    * confusion with "versions" (i.e., releases) of Subversion, we
00602    * started using the word "format" instead of "version".  However,
00603    * this error code's name predates that decision.
00604    */
00605   SVN_ERRDEF (SVN_ERR_REPOS_UNSUPPORTED_VERSION,
00606               SVN_ERR_REPOS_CATEGORY_START + 5,
00607               "Unsupported repository version")
00608 
00609   SVN_ERRDEF (SVN_ERR_REPOS_DISABLED_FEATURE,
00610               SVN_ERR_REPOS_CATEGORY_START + 6,
00611               "Disabled repository feature")
00612 
00613   SVN_ERRDEF (SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED,
00614               SVN_ERR_REPOS_CATEGORY_START + 7,
00615               "Error running post-commit hook")
00616 
00617   /* @since New in 1.2 */
00618   SVN_ERRDEF (SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED,
00619               SVN_ERR_REPOS_CATEGORY_START + 8,
00620               "Error running post-lock hook")
00621 
00622   /* @since New in 1.2. */
00623   SVN_ERRDEF (SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED,
00624               SVN_ERR_REPOS_CATEGORY_START + 9,
00625               "Error running post-unlock hook")
00626 
00627 
00628   /* generic RA errors */
00629 
00630   SVN_ERRDEF (SVN_ERR_RA_ILLEGAL_URL,
00631               SVN_ERR_RA_CATEGORY_START + 0,
00632               "Bad URL passed to RA layer")
00633 
00634   SVN_ERRDEF (SVN_ERR_RA_NOT_AUTHORIZED,
00635               SVN_ERR_RA_CATEGORY_START + 1,
00636               "Authorization failed")
00637 
00638   SVN_ERRDEF (SVN_ERR_RA_UNKNOWN_AUTH,
00639               SVN_ERR_RA_CATEGORY_START + 2,
00640               "Unknown authorization method")
00641 
00642   SVN_ERRDEF (SVN_ERR_RA_NOT_IMPLEMENTED,
00643               SVN_ERR_RA_CATEGORY_START + 3,
00644               "Repository access method not implemented")
00645 
00646   SVN_ERRDEF (SVN_ERR_RA_OUT_OF_DATE,
00647               SVN_ERR_RA_CATEGORY_START + 4,
00648               "Item is out-of-date")
00649 
00650   SVN_ERRDEF (SVN_ERR_RA_NO_REPOS_UUID,
00651               SVN_ERR_RA_CATEGORY_START + 5,
00652               "Repository has no UUID")
00653 
00654   SVN_ERRDEF (SVN_ERR_RA_UNSUPPORTED_ABI_VERSION,
00655               SVN_ERR_RA_CATEGORY_START + 6,
00656               "Unsupported RA plugin ABI version")
00657 
00658   /* @since New in 1.2. */
00659   SVN_ERRDEF (SVN_ERR_RA_NOT_LOCKED,
00660               SVN_ERR_RA_CATEGORY_START + 7,
00661               "Path is not locked")
00662 
00663 
00664   /* ra_dav errors */
00665 
00666   SVN_ERRDEF (SVN_ERR_RA_DAV_SOCK_INIT,
00667               SVN_ERR_RA_DAV_CATEGORY_START + 0,
00668               "RA layer failed to init socket layer")
00669 
00670   SVN_ERRDEF (SVN_ERR_RA_DAV_CREATING_REQUEST,
00671               SVN_ERR_RA_DAV_CATEGORY_START + 1,
00672               "RA layer failed to create HTTP request")
00673 
00674   SVN_ERRDEF (SVN_ERR_RA_DAV_REQUEST_FAILED,
00675               SVN_ERR_RA_DAV_CATEGORY_START + 2,
00676               "RA layer request failed")
00677 
00678   SVN_ERRDEF (SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED,
00679               SVN_ERR_RA_DAV_CATEGORY_START + 3,
00680               "RA layer didn't receive requested OPTIONS info")
00681     
00682   SVN_ERRDEF (SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
00683               SVN_ERR_RA_DAV_CATEGORY_START + 4,
00684               "RA layer failed to fetch properties")
00685 
00686   SVN_ERRDEF (SVN_ERR_RA_DAV_ALREADY_EXISTS,
00687               SVN_ERR_RA_DAV_CATEGORY_START + 5,
00688               "RA layer file already exists")
00689 
00690   SVN_ERRDEF (SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE,
00691               SVN_ERR_RA_DAV_CATEGORY_START + 6,
00692               "Invalid configuration value")
00693 
00694   SVN_ERRDEF (SVN_ERR_RA_DAV_PATH_NOT_FOUND,
00695               SVN_ERR_RA_DAV_CATEGORY_START + 7,
00696               "HTTP Path Not Found")
00697 
00698   SVN_ERRDEF (SVN_ERR_RA_DAV_PROPPATCH_FAILED,
00699               SVN_ERR_RA_DAV_CATEGORY_START + 8,
00700               "Failed to execute WebDAV PROPPATCH")
00701 
00702   /* @since New in 1.2 */
00703   SVN_ERRDEF (SVN_ERR_RA_DAV_MALFORMED_DATA,
00704               SVN_ERR_RA_DAV_CATEGORY_START + 9,
00705               "Malformed network data")
00706 
00707 
00708   /* ra_local errors */
00709   
00710   SVN_ERRDEF (SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
00711               SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
00712               "Couldn't find a repository")
00713        
00714   SVN_ERRDEF (SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
00715               SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
00716               "Couldn't open a repository")
00717   /* ra_svn errors */
00718 
00719   SVN_ERRDEF (SVN_ERR_RA_SVN_CMD_ERR,
00720               SVN_ERR_RA_SVN_CATEGORY_START + 0,
00721               "Special code for wrapping server errors to report to client")
00722 
00723   SVN_ERRDEF (SVN_ERR_RA_SVN_UNKNOWN_CMD,
00724               SVN_ERR_RA_SVN_CATEGORY_START + 1,
00725               "Unknown svn protocol command")
00726 
00727   SVN_ERRDEF (SVN_ERR_RA_SVN_CONNECTION_CLOSED,
00728               SVN_ERR_RA_SVN_CATEGORY_START + 2,
00729               "Network connection closed unexpectedly")
00730 
00731   SVN_ERRDEF (SVN_ERR_RA_SVN_IO_ERROR,
00732               SVN_ERR_RA_SVN_CATEGORY_START + 3,
00733               "Network read/write error")
00734 
00735   SVN_ERRDEF (SVN_ERR_RA_SVN_MALFORMED_DATA,
00736               SVN_ERR_RA_SVN_CATEGORY_START + 4,
00737               "Malformed network data")
00738 
00739   SVN_ERRDEF (SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
00740               SVN_ERR_RA_SVN_CATEGORY_START + 5,
00741               "Couldn't find a repository")
00742 
00743   SVN_ERRDEF (SVN_ERR_RA_SVN_BAD_VERSION,
00744               SVN_ERR_RA_SVN_CATEGORY_START + 6,
00745               "Client/server version mismatch")
00746 
00747   /* libsvn_auth errors */
00748 
00749        /* this error can be used when an auth provider doesn't have
00750           the creds, but no other "real" error occurred. */
00751   SVN_ERRDEF (SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
00752               SVN_ERR_AUTHN_CATEGORY_START + 0,
00753               "Credential data unavailable")
00754 
00755   SVN_ERRDEF (SVN_ERR_AUTHN_NO_PROVIDER,
00756               SVN_ERR_AUTHN_CATEGORY_START + 1,
00757               "No authentication provider available")
00758 
00759   SVN_ERRDEF (SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
00760               SVN_ERR_AUTHN_CATEGORY_START + 2,
00761               "All authentication providers exhausted")
00762 
00763   SVN_ERRDEF (SVN_ERR_AUTHN_CREDS_NOT_SAVED,
00764               SVN_ERR_AUTHN_CATEGORY_START + 3,
00765               "All authentication providers exhausted")
00766 
00767   /* authorization errors */
00768 
00769   SVN_ERRDEF (SVN_ERR_AUTHZ_ROOT_UNREADABLE,
00770               SVN_ERR_AUTHZ_CATEGORY_START + 0,
00771               "Read access denied for root of edit")
00772 
00773   /* @since New in 1.1. */
00774   SVN_ERRDEF (SVN_ERR_AUTHZ_UNREADABLE,
00775               SVN_ERR_AUTHZ_CATEGORY_START + 1,
00776               "Item is not readable")
00777 
00778   /* @since New in 1.1. */
00779   SVN_ERRDEF (SVN_ERR_AUTHZ_PARTIALLY_READABLE,
00780               SVN_ERR_AUTHZ_CATEGORY_START + 2,
00781               "Item is partially readable")
00782 
00783 
00784   /* svndiff errors */
00785 
00786   SVN_ERRDEF (SVN_ERR_SVNDIFF_INVALID_HEADER,
00787               SVN_ERR_SVNDIFF_CATEGORY_START + 0,
00788               "Svndiff data has invalid header")
00789 
00790   SVN_ERRDEF (SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
00791               SVN_ERR_SVNDIFF_CATEGORY_START + 1,
00792               "Svndiff data contains corrupt window")
00793 
00794   SVN_ERRDEF (SVN_ERR_SVNDIFF_BACKWARD_VIEW,
00795               SVN_ERR_SVNDIFF_CATEGORY_START + 2,
00796               "Svndiff data contains backward-sliding source view")
00797 
00798   SVN_ERRDEF (SVN_ERR_SVNDIFF_INVALID_OPS,
00799               SVN_ERR_SVNDIFF_CATEGORY_START + 3,
00800               "Svndiff data contains invalid instruction")
00801 
00802   SVN_ERRDEF (SVN_ERR_SVNDIFF_UNEXPECTED_END,
00803               SVN_ERR_SVNDIFF_CATEGORY_START + 4,
00804               "Svndiff data ends unexpectedly")
00805 
00806   /* mod_dav_svn errors */
00807 
00808   SVN_ERRDEF (SVN_ERR_APMOD_MISSING_PATH_TO_FS,
00809               SVN_ERR_APMOD_CATEGORY_START + 0,
00810               "Apache has no path to an SVN filesystem")
00811 
00812   SVN_ERRDEF (SVN_ERR_APMOD_MALFORMED_URI,
00813               SVN_ERR_APMOD_CATEGORY_START + 1,
00814               "Apache got a malformed URI")
00815 
00816   SVN_ERRDEF (SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
00817               SVN_ERR_APMOD_CATEGORY_START + 2,
00818               "Activity not found")
00819 
00820   SVN_ERRDEF (SVN_ERR_APMOD_BAD_BASELINE,
00821               SVN_ERR_APMOD_CATEGORY_START + 3,
00822               "Baseline incorrect")
00823 
00824   SVN_ERRDEF (SVN_ERR_APMOD_CONNECTION_ABORTED,
00825               SVN_ERR_APMOD_CATEGORY_START + 4,
00826               "Input/output error")
00827 
00828   /* libsvn_client errors */
00829 
00830   SVN_ERRDEF (SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
00831               SVN_ERR_CLIENT_CATEGORY_START + 0,
00832               "A path under version control is needed for this operation")
00833 
00834   SVN_ERRDEF (SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
00835               SVN_ERR_CLIENT_CATEGORY_START + 1,
00836               "Repository access is needed for this operation")
00837 
00838   SVN_ERRDEF (SVN_ERR_CLIENT_BAD_REVISION,
00839               SVN_ERR_CLIENT_CATEGORY_START + 2,
00840               "Bogus revision information given")
00841 
00842   SVN_ERRDEF (SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
00843               SVN_ERR_CLIENT_CATEGORY_START + 3,
00844               "Attempting to commit to a URL more than once")
00845 
00846   SVN_ERRDEF (SVN_ERR_CLIENT_IS_BINARY_FILE,
00847               SVN_ERR_CLIENT_CATEGORY_START + 4,
00848               "Operation does not apply to binary file")
00849 
00850        /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
00851          in order to get gettext translatable strings */
00852   SVN_ERRDEF (SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
00853               SVN_ERR_CLIENT_CATEGORY_START + 5,
00854               "Format of an svn:externals property was invalid")
00855 
00856   SVN_ERRDEF (SVN_ERR_CLIENT_MODIFIED,
00857               SVN_ERR_CLIENT_CATEGORY_START + 6,
00858               "Attempting restricted operation for modified resource")
00859 
00860   SVN_ERRDEF (SVN_ERR_CLIENT_IS_DIRECTORY,
00861               SVN_ERR_CLIENT_CATEGORY_START + 7,
00862               "Operation does not apply to directory")
00863 
00864   SVN_ERRDEF (SVN_ERR_CLIENT_REVISION_RANGE,
00865               SVN_ERR_CLIENT_CATEGORY_START + 8,
00866               "Revision range is not allowed")
00867 
00868   SVN_ERRDEF (SVN_ERR_CLIENT_INVALID_RELOCATION,
00869               SVN_ERR_CLIENT_CATEGORY_START + 9,
00870               "Inter-repository relocation not allowed")
00871 
00872   SVN_ERRDEF (SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
00873               SVN_ERR_CLIENT_CATEGORY_START + 10,
00874               "Author name cannot contain a newline")
00875 
00876   SVN_ERRDEF (SVN_ERR_CLIENT_PROPERTY_NAME,
00877               SVN_ERR_CLIENT_CATEGORY_START + 11,
00878               "Bad property name")
00879 
00880   /* @since New in 1.1. */
00881   SVN_ERRDEF (SVN_ERR_CLIENT_UNRELATED_RESOURCES,
00882               SVN_ERR_CLIENT_CATEGORY_START + 12,
00883               "Two versioned resources are unrelated")
00884 
00885   /* @since New in 1.2. */
00886   SVN_ERRDEF (SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
00887               SVN_ERR_CLIENT_CATEGORY_START + 13,
00888               "Path has no lock token")
00889 
00890   /* misc errors */
00891 
00892   SVN_ERRDEF (SVN_ERR_BASE,
00893               SVN_ERR_MISC_CATEGORY_START + 0,
00894               "A problem occurred; see later errors for details")
00895 
00896   SVN_ERRDEF (SVN_ERR_PLUGIN_LOAD_FAILURE,
00897               SVN_ERR_MISC_CATEGORY_START + 1,
00898               "Failure loading plugin")
00899 
00900   SVN_ERRDEF (SVN_ERR_MALFORMED_FILE,
00901               SVN_ERR_MISC_CATEGORY_START + 2,
00902               "Malformed file")
00903 
00904   SVN_ERRDEF (SVN_ERR_INCOMPLETE_DATA,
00905               SVN_ERR_MISC_CATEGORY_START + 3,
00906               "Incomplete data")
00907 
00908   SVN_ERRDEF (SVN_ERR_INCORRECT_PARAMS,
00909               SVN_ERR_MISC_CATEGORY_START + 4,
00910               "Incorrect parameters given")
00911 
00912   SVN_ERRDEF (SVN_ERR_UNVERSIONED_RESOURCE,
00913               SVN_ERR_MISC_CATEGORY_START + 5,
00914               "Tried a versioning operation on an unversioned resource")
00915 
00916   SVN_ERRDEF (SVN_ERR_TEST_FAILED,
00917               SVN_ERR_MISC_CATEGORY_START + 6,
00918               "Test failed")
00919        
00920   SVN_ERRDEF (SVN_ERR_UNSUPPORTED_FEATURE,
00921               SVN_ERR_MISC_CATEGORY_START + 7,
00922               "Trying to use an unsupported feature")
00923 
00924   SVN_ERRDEF (SVN_ERR_BAD_PROP_KIND,
00925               SVN_ERR_MISC_CATEGORY_START + 8,
00926               "Unexpected or unknown property kind")
00927 
00928   SVN_ERRDEF (SVN_ERR_ILLEGAL_TARGET,
00929               SVN_ERR_MISC_CATEGORY_START + 9,
00930               "Illegal target for the requested operation")
00931 
00932   SVN_ERRDEF (SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
00933               SVN_ERR_MISC_CATEGORY_START + 10,
00934               "MD5 checksum is missing")
00935 
00936   SVN_ERRDEF (SVN_ERR_DIR_NOT_EMPTY,
00937               SVN_ERR_MISC_CATEGORY_START + 11,
00938               "Directory needs to be empty but is not")
00939 
00940   SVN_ERRDEF (SVN_ERR_EXTERNAL_PROGRAM,
00941               SVN_ERR_MISC_CATEGORY_START + 12,
00942               "Error calling external program")
00943 
00944   SVN_ERRDEF (SVN_ERR_SWIG_PY_EXCEPTION_SET,
00945               SVN_ERR_MISC_CATEGORY_START + 13,
00946               "Python exception has been set with the error")
00947 
00948   SVN_ERRDEF (SVN_ERR_CHECKSUM_MISMATCH,
00949               SVN_ERR_MISC_CATEGORY_START + 14,
00950               "A checksum mismatch occurred")
00951 
00952   SVN_ERRDEF (SVN_ERR_CANCELLED,
00953               SVN_ERR_MISC_CATEGORY_START + 15,
00954               "The operation was interrupted")
00955 
00956   SVN_ERRDEF (SVN_ERR_INVALID_DIFF_OPTION,
00957               SVN_ERR_MISC_CATEGORY_START + 16,
00958               "The specified diff option is not supported")
00959 
00960   SVN_ERRDEF (SVN_ERR_PROPERTY_NOT_FOUND,
00961               SVN_ERR_MISC_CATEGORY_START + 17,
00962               "Property not found")
00963 
00964   SVN_ERRDEF (SVN_ERR_NO_AUTH_FILE_PATH,
00965               SVN_ERR_MISC_CATEGORY_START + 18,
00966               "No auth file path available")
00967 
00968   /* @since New in 1.1. */
00969   SVN_ERRDEF (SVN_ERR_VERSION_MISMATCH,
00970               SVN_ERR_MISC_CATEGORY_START + 19,
00971               "Incompatible library version")
00972 
00973   /* command-line client errors */
00974 
00975   SVN_ERRDEF (SVN_ERR_CL_ARG_PARSING_ERROR,
00976               SVN_ERR_CL_CATEGORY_START + 0,
00977               "Client error in parsing arguments")
00978 
00979   SVN_ERRDEF (SVN_ERR_CL_INSUFFICIENT_ARGS,
00980               SVN_ERR_CL_CATEGORY_START + 1,
00981               "Not enough args provided")
00982 
00983   SVN_ERRDEF (SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
00984               SVN_ERR_CL_CATEGORY_START + 2,
00985               "Mutually exclusive arguments specified")
00986 
00987   SVN_ERRDEF (SVN_ERR_CL_ADM_DIR_RESERVED,
00988               SVN_ERR_CL_CATEGORY_START + 3,
00989               "Attempted command in administrative dir")
00990 
00991   SVN_ERRDEF (SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
00992               SVN_ERR_CL_CATEGORY_START + 4,
00993               "The log message file is under version control")
00994 
00995   SVN_ERRDEF (SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
00996               SVN_ERR_CL_CATEGORY_START + 5,
00997               "The log message is a pathname")
00998 
00999   SVN_ERRDEF (SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
01000               SVN_ERR_CL_CATEGORY_START + 6,
01001               "Committing in directory scheduled for addition")
01002 
01003   SVN_ERRDEF (SVN_ERR_CL_NO_EXTERNAL_EDITOR,
01004               SVN_ERR_CL_CATEGORY_START + 7,
01005               "No external editor available")
01006 
01007   SVN_ERRDEF (SVN_ERR_CL_BAD_LOG_MESSAGE,
01008               SVN_ERR_CL_CATEGORY_START + 8,
01009               "Something is wrong with the log message's contents")
01010 
01011 SVN_ERROR_END
01012 
01013 
01014 #undef SVN_ERROR_START
01015 #undef SVN_ERRDEF
01016 #undef SVN_ERROR_END
01017 
01018 #ifdef __cplusplus
01019 }
01020 #endif /* __cplusplus */
01021 
01022 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */

Generated on Wed Aug 31 01:47:56 2005 for Subversion by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002