Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

svn_error_codes.h

Go to the documentation of this file.
00001 /**
00002  * @copyright
00003  * ====================================================================
00004  * Copyright (c) 2000-2005 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   /** @since New in 1.3. */
00383   SVN_ERRDEF (SVN_ERR_WC_INVALID_RELOCATION,
00384               SVN_ERR_WC_CATEGORY_START + 24,
00385               "Invalid relocation")
00386 
00387   /** @since New in 1.3. */
00388   SVN_ERRDEF (SVN_ERR_WC_INVALID_SWITCH,
00389               SVN_ERR_WC_CATEGORY_START + 25,
00390               "Invalid switch")
00391 
00392   /* fs errors */
00393 
00394   SVN_ERRDEF (SVN_ERR_FS_GENERAL,
00395               SVN_ERR_FS_CATEGORY_START + 0,
00396               "General filesystem error")
00397 
00398   SVN_ERRDEF (SVN_ERR_FS_CLEANUP,
00399               SVN_ERR_FS_CATEGORY_START + 1,
00400               "Error closing filesystem")
00401 
00402   SVN_ERRDEF (SVN_ERR_FS_ALREADY_OPEN,
00403               SVN_ERR_FS_CATEGORY_START + 2,
00404               "Filesystem is already open")
00405 
00406   SVN_ERRDEF (SVN_ERR_FS_NOT_OPEN,
00407               SVN_ERR_FS_CATEGORY_START + 3,
00408               "Filesystem is not open")
00409 
00410   SVN_ERRDEF (SVN_ERR_FS_CORRUPT,
00411               SVN_ERR_FS_CATEGORY_START + 4,
00412               "Filesystem is corrupt")
00413 
00414   SVN_ERRDEF (SVN_ERR_FS_PATH_SYNTAX,
00415               SVN_ERR_FS_CATEGORY_START + 5,
00416               "Invalid filesystem path syntax")
00417 
00418   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_REVISION,
00419               SVN_ERR_FS_CATEGORY_START + 6,
00420               "Invalid filesystem revision number")
00421 
00422   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_TRANSACTION,
00423               SVN_ERR_FS_CATEGORY_START + 7,
00424               "Invalid filesystem transaction name")
00425 
00426   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_ENTRY,
00427               SVN_ERR_FS_CATEGORY_START + 8,
00428               "Filesystem directory has no such entry")
00429 
00430   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_REPRESENTATION,
00431               SVN_ERR_FS_CATEGORY_START + 9,
00432               "Filesystem has no such representation")
00433 
00434   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_STRING,
00435               SVN_ERR_FS_CATEGORY_START + 10,
00436               "Filesystem has no such string")
00437 
00438   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_COPY,
00439               SVN_ERR_FS_CATEGORY_START + 11,
00440               "Filesystem has no such copy")
00441 
00442   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_NOT_MUTABLE,
00443               SVN_ERR_FS_CATEGORY_START + 12,
00444               "The specified transaction is not mutable")
00445 
00446   SVN_ERRDEF (SVN_ERR_FS_NOT_FOUND,
00447               SVN_ERR_FS_CATEGORY_START + 13,
00448               "Filesystem has no item")
00449 
00450   SVN_ERRDEF (SVN_ERR_FS_ID_NOT_FOUND,
00451               SVN_ERR_FS_CATEGORY_START + 14,
00452               "Filesystem has no such node-rev-id")
00453 
00454   SVN_ERRDEF (SVN_ERR_FS_NOT_ID,
00455               SVN_ERR_FS_CATEGORY_START + 15,
00456               "String does not represent a node or node-rev-id")
00457 
00458   SVN_ERRDEF (SVN_ERR_FS_NOT_DIRECTORY,
00459               SVN_ERR_FS_CATEGORY_START + 16,
00460               "Name does not refer to a filesystem directory")
00461 
00462   SVN_ERRDEF (SVN_ERR_FS_NOT_FILE,
00463               SVN_ERR_FS_CATEGORY_START + 17,
00464               "Name does not refer to a filesystem file")
00465 
00466   SVN_ERRDEF (SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,
00467               SVN_ERR_FS_CATEGORY_START + 18,
00468               "Name is not a single path component")
00469 
00470   SVN_ERRDEF (SVN_ERR_FS_NOT_MUTABLE,
00471               SVN_ERR_FS_CATEGORY_START + 19,
00472               "Attempt to change immutable filesystem node")
00473 
00474   SVN_ERRDEF (SVN_ERR_FS_ALREADY_EXISTS,
00475               SVN_ERR_FS_CATEGORY_START + 20,
00476               "Item already exists in filesystem")
00477 
00478   SVN_ERRDEF (SVN_ERR_FS_ROOT_DIR,
00479               SVN_ERR_FS_CATEGORY_START + 21,
00480               "Attempt to remove or recreate fs root dir")
00481 
00482   SVN_ERRDEF (SVN_ERR_FS_NOT_TXN_ROOT,
00483               SVN_ERR_FS_CATEGORY_START + 22,
00484               "Object is not a transaction root")
00485 
00486   SVN_ERRDEF (SVN_ERR_FS_NOT_REVISION_ROOT,
00487               SVN_ERR_FS_CATEGORY_START + 23,
00488               "Object is not a revision root")
00489 
00490   SVN_ERRDEF (SVN_ERR_FS_CONFLICT,
00491               SVN_ERR_FS_CATEGORY_START + 24,
00492               "Merge conflict during commit")
00493 
00494   SVN_ERRDEF (SVN_ERR_FS_REP_CHANGED,
00495               SVN_ERR_FS_CATEGORY_START + 25,
00496               "A representation vanished or changed between reads")
00497 
00498   SVN_ERRDEF (SVN_ERR_FS_REP_NOT_MUTABLE,
00499               SVN_ERR_FS_CATEGORY_START + 26,
00500               "Tried to change an immutable representation")
00501 
00502   SVN_ERRDEF (SVN_ERR_FS_MALFORMED_SKEL,
00503               SVN_ERR_FS_CATEGORY_START + 27,
00504               "Malformed skeleton data")
00505 
00506   SVN_ERRDEF (SVN_ERR_FS_TXN_OUT_OF_DATE,
00507               SVN_ERR_FS_CATEGORY_START + 28,
00508               "Transaction is out of date")
00509 
00510   SVN_ERRDEF (SVN_ERR_FS_BERKELEY_DB,
00511               SVN_ERR_FS_CATEGORY_START + 29,
00512               "Berkeley DB error")
00513 
00514   SVN_ERRDEF (SVN_ERR_FS_BERKELEY_DB_DEADLOCK,
00515               SVN_ERR_FS_CATEGORY_START + 30,
00516               "Berkeley DB deadlock error")
00517 
00518   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_DEAD,
00519               SVN_ERR_FS_CATEGORY_START + 31,
00520               "Transaction is dead")
00521 
00522   SVN_ERRDEF (SVN_ERR_FS_TRANSACTION_NOT_DEAD,
00523               SVN_ERR_FS_CATEGORY_START + 32,
00524               "Transaction is not dead")
00525 
00526   /** @since New in 1.1. */
00527   SVN_ERRDEF (SVN_ERR_FS_UNKNOWN_FS_TYPE,
00528               SVN_ERR_FS_CATEGORY_START + 33,
00529               "Unknown FS type")
00530 
00531   /** @since New in 1.2. */
00532   SVN_ERRDEF (SVN_ERR_FS_NO_USER,
00533               SVN_ERR_FS_CATEGORY_START + 34,
00534               "No user associated with filesystem")
00535 
00536   /** @since New in 1.2. */
00537   SVN_ERRDEF (SVN_ERR_FS_PATH_ALREADY_LOCKED,
00538               SVN_ERR_FS_CATEGORY_START + 35,
00539               "Path is already locked")
00540 
00541   /** @since New in 1.2. */
00542   SVN_ERRDEF (SVN_ERR_FS_PATH_NOT_LOCKED,
00543               SVN_ERR_FS_CATEGORY_START + 36,
00544               "Path is not locked")
00545 
00546   /** @since New in 1.2. */
00547   SVN_ERRDEF (SVN_ERR_FS_BAD_LOCK_TOKEN,
00548               SVN_ERR_FS_CATEGORY_START + 37,
00549               "Lock token is incorrect")
00550 
00551   /** @since New in 1.2. */
00552   SVN_ERRDEF (SVN_ERR_FS_NO_LOCK_TOKEN,
00553               SVN_ERR_FS_CATEGORY_START + 38,
00554               "No lock token provided")
00555 
00556   /** @since New in 1.2. */
00557   SVN_ERRDEF (SVN_ERR_FS_LOCK_OWNER_MISMATCH,
00558               SVN_ERR_FS_CATEGORY_START + 39,
00559               "Username does not match lock owner")
00560 
00561   /** @since New in 1.2. */
00562   SVN_ERRDEF (SVN_ERR_FS_NO_SUCH_LOCK,
00563               SVN_ERR_FS_CATEGORY_START + 40,
00564               "Filesystem has no such lock")
00565 
00566   /** @since New in 1.2. */
00567   SVN_ERRDEF (SVN_ERR_FS_LOCK_EXPIRED,
00568               SVN_ERR_FS_CATEGORY_START + 41,
00569               "Lock has expired")
00570 
00571   /** @since New in 1.2. */
00572   SVN_ERRDEF (SVN_ERR_FS_OUT_OF_DATE,
00573               SVN_ERR_FS_CATEGORY_START + 42,
00574               "Item is out of date")
00575 
00576   /**@since New in 1.2.
00577    *
00578    * This is analogous to SVN_ERR_REPOS_UNSUPPORTED_VERSION.  To avoid
00579    * confusion with "versions" (i.e., releases) of Subversion, we've
00580    * started calling this the "format" number instead.  The old
00581    * SVN_ERR_REPOS_UNSUPPORTED_VERSION error predates this and so
00582    * retains its name.
00583    */
00584   SVN_ERRDEF (SVN_ERR_FS_UNSUPPORTED_FORMAT,
00585               SVN_ERR_FS_CATEGORY_START + 43,
00586               "Unsupported FS format")
00587 
00588   /* repos errors */
00589 
00590   SVN_ERRDEF (SVN_ERR_REPOS_LOCKED,
00591               SVN_ERR_REPOS_CATEGORY_START + 0,
00592               "The repository is locked, perhaps for db recovery")
00593 
00594   SVN_ERRDEF (SVN_ERR_REPOS_HOOK_FAILURE,
00595               SVN_ERR_REPOS_CATEGORY_START + 1,
00596               "A repository hook failed")
00597 
00598   SVN_ERRDEF (SVN_ERR_REPOS_BAD_ARGS,
00599               SVN_ERR_REPOS_CATEGORY_START + 2,
00600               "Incorrect arguments supplied")
00601 
00602   SVN_ERRDEF (SVN_ERR_REPOS_NO_DATA_FOR_REPORT,
00603               SVN_ERR_REPOS_CATEGORY_START + 3,
00604               "A report cannot be generated because no data was supplied")
00605 
00606   SVN_ERRDEF (SVN_ERR_REPOS_BAD_REVISION_REPORT,
00607               SVN_ERR_REPOS_CATEGORY_START + 4,
00608               "Bogus revision report")
00609  
00610   /* This is analogous to SVN_ERR_FS_UNSUPPORTED_FORMAT.  To avoid
00611    * confusion with "versions" (i.e., releases) of Subversion, we
00612    * started using the word "format" instead of "version".  However,
00613    * this error code's name predates that decision.
00614    */
00615   SVN_ERRDEF (SVN_ERR_REPOS_UNSUPPORTED_VERSION,
00616               SVN_ERR_REPOS_CATEGORY_START + 5,
00617               "Unsupported repository version")
00618 
00619   SVN_ERRDEF (SVN_ERR_REPOS_DISABLED_FEATURE,
00620               SVN_ERR_REPOS_CATEGORY_START + 6,
00621               "Disabled repository feature")
00622 
00623   SVN_ERRDEF (SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED,
00624               SVN_ERR_REPOS_CATEGORY_START + 7,
00625               "Error running post-commit hook")
00626 
00627   /** @since New in 1.2. */
00628   SVN_ERRDEF (SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED,
00629               SVN_ERR_REPOS_CATEGORY_START + 8,
00630               "Error running post-lock hook")
00631 
00632   /** @since New in 1.2. */
00633   SVN_ERRDEF (SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED,
00634               SVN_ERR_REPOS_CATEGORY_START + 9,
00635               "Error running post-unlock hook")
00636 
00637 
00638   /* generic RA errors */
00639 
00640   SVN_ERRDEF (SVN_ERR_RA_ILLEGAL_URL,
00641               SVN_ERR_RA_CATEGORY_START + 0,
00642               "Bad URL passed to RA layer")
00643 
00644   SVN_ERRDEF (SVN_ERR_RA_NOT_AUTHORIZED,
00645               SVN_ERR_RA_CATEGORY_START + 1,
00646               "Authorization failed")
00647 
00648   SVN_ERRDEF (SVN_ERR_RA_UNKNOWN_AUTH,
00649               SVN_ERR_RA_CATEGORY_START + 2,
00650               "Unknown authorization method")
00651 
00652   SVN_ERRDEF (SVN_ERR_RA_NOT_IMPLEMENTED,
00653               SVN_ERR_RA_CATEGORY_START + 3,
00654               "Repository access method not implemented")
00655 
00656   SVN_ERRDEF (SVN_ERR_RA_OUT_OF_DATE,
00657               SVN_ERR_RA_CATEGORY_START + 4,
00658               "Item is out-of-date")
00659 
00660   SVN_ERRDEF (SVN_ERR_RA_NO_REPOS_UUID,
00661               SVN_ERR_RA_CATEGORY_START + 5,
00662               "Repository has no UUID")
00663 
00664   SVN_ERRDEF (SVN_ERR_RA_UNSUPPORTED_ABI_VERSION,
00665               SVN_ERR_RA_CATEGORY_START + 6,
00666               "Unsupported RA plugin ABI version")
00667 
00668   /** @since New in 1.2. */
00669   SVN_ERRDEF (SVN_ERR_RA_NOT_LOCKED,
00670               SVN_ERR_RA_CATEGORY_START + 7,
00671               "Path is not locked")
00672 
00673 
00674   /* ra_dav errors */
00675 
00676   SVN_ERRDEF (SVN_ERR_RA_DAV_SOCK_INIT,
00677               SVN_ERR_RA_DAV_CATEGORY_START + 0,
00678               "RA layer failed to init socket layer")
00679 
00680   SVN_ERRDEF (SVN_ERR_RA_DAV_CREATING_REQUEST,
00681               SVN_ERR_RA_DAV_CATEGORY_START + 1,
00682               "RA layer failed to create HTTP request")
00683 
00684   SVN_ERRDEF (SVN_ERR_RA_DAV_REQUEST_FAILED,
00685               SVN_ERR_RA_DAV_CATEGORY_START + 2,
00686               "RA layer request failed")
00687 
00688   SVN_ERRDEF (SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED,
00689               SVN_ERR_RA_DAV_CATEGORY_START + 3,
00690               "RA layer didn't receive requested OPTIONS info")
00691     
00692   SVN_ERRDEF (SVN_ERR_RA_DAV_PROPS_NOT_FOUND,
00693               SVN_ERR_RA_DAV_CATEGORY_START + 4,
00694               "RA layer failed to fetch properties")
00695 
00696   SVN_ERRDEF (SVN_ERR_RA_DAV_ALREADY_EXISTS,
00697               SVN_ERR_RA_DAV_CATEGORY_START + 5,
00698               "RA layer file already exists")
00699 
00700   SVN_ERRDEF (SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE,
00701               SVN_ERR_RA_DAV_CATEGORY_START + 6,
00702               "Invalid configuration value")
00703 
00704   SVN_ERRDEF (SVN_ERR_RA_DAV_PATH_NOT_FOUND,
00705               SVN_ERR_RA_DAV_CATEGORY_START + 7,
00706               "HTTP Path Not Found")
00707 
00708   SVN_ERRDEF (SVN_ERR_RA_DAV_PROPPATCH_FAILED,
00709               SVN_ERR_RA_DAV_CATEGORY_START + 8,
00710               "Failed to execute WebDAV PROPPATCH")
00711 
00712   /** @since New in 1.2. */
00713   SVN_ERRDEF (SVN_ERR_RA_DAV_MALFORMED_DATA,
00714               SVN_ERR_RA_DAV_CATEGORY_START + 9,
00715               "Malformed network data")
00716 
00717   /** @since New in 1.3 */
00718   SVN_ERRDEF (SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,
00719               SVN_ERR_RA_DAV_CATEGORY_START + 10,
00720               "Unable to extract data from response header")
00721 
00722   /* ra_local errors */
00723   
00724   SVN_ERRDEF (SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND,
00725               SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
00726               "Couldn't find a repository")
00727        
00728   SVN_ERRDEF (SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
00729               SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
00730               "Couldn't open a repository")
00731   /* ra_svn errors */
00732 
00733   SVN_ERRDEF (SVN_ERR_RA_SVN_CMD_ERR,
00734               SVN_ERR_RA_SVN_CATEGORY_START + 0,
00735               "Special code for wrapping server errors to report to client")
00736 
00737   SVN_ERRDEF (SVN_ERR_RA_SVN_UNKNOWN_CMD,
00738               SVN_ERR_RA_SVN_CATEGORY_START + 1,
00739               "Unknown svn protocol command")
00740 
00741   SVN_ERRDEF (SVN_ERR_RA_SVN_CONNECTION_CLOSED,
00742               SVN_ERR_RA_SVN_CATEGORY_START + 2,
00743               "Network connection closed unexpectedly")
00744 
00745   SVN_ERRDEF (SVN_ERR_RA_SVN_IO_ERROR,
00746               SVN_ERR_RA_SVN_CATEGORY_START + 3,
00747               "Network read/write error")
00748 
00749   SVN_ERRDEF (SVN_ERR_RA_SVN_MALFORMED_DATA,
00750               SVN_ERR_RA_SVN_CATEGORY_START + 4,
00751               "Malformed network data")
00752 
00753   SVN_ERRDEF (SVN_ERR_RA_SVN_REPOS_NOT_FOUND,
00754               SVN_ERR_RA_SVN_CATEGORY_START + 5,
00755               "Couldn't find a repository")
00756 
00757   SVN_ERRDEF (SVN_ERR_RA_SVN_BAD_VERSION,
00758               SVN_ERR_RA_SVN_CATEGORY_START + 6,
00759               "Client/server version mismatch")
00760 
00761   /* libsvn_auth errors */
00762 
00763        /* this error can be used when an auth provider doesn't have
00764           the creds, but no other "real" error occurred. */
00765   SVN_ERRDEF (SVN_ERR_AUTHN_CREDS_UNAVAILABLE,
00766               SVN_ERR_AUTHN_CATEGORY_START + 0,
00767               "Credential data unavailable")
00768 
00769   SVN_ERRDEF (SVN_ERR_AUTHN_NO_PROVIDER,
00770               SVN_ERR_AUTHN_CATEGORY_START + 1,
00771               "No authentication provider available")
00772 
00773   SVN_ERRDEF (SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED,
00774               SVN_ERR_AUTHN_CATEGORY_START + 2,
00775               "All authentication providers exhausted")
00776 
00777   SVN_ERRDEF (SVN_ERR_AUTHN_CREDS_NOT_SAVED,
00778               SVN_ERR_AUTHN_CATEGORY_START + 3,
00779               "All authentication providers exhausted")
00780 
00781   /* authorization errors */
00782 
00783   SVN_ERRDEF (SVN_ERR_AUTHZ_ROOT_UNREADABLE,
00784               SVN_ERR_AUTHZ_CATEGORY_START + 0,
00785               "Read access denied for root of edit")
00786 
00787   /** @since New in 1.1. */
00788   SVN_ERRDEF (SVN_ERR_AUTHZ_UNREADABLE,
00789               SVN_ERR_AUTHZ_CATEGORY_START + 1,
00790               "Item is not readable")
00791 
00792   /** @since New in 1.1. */
00793   SVN_ERRDEF (SVN_ERR_AUTHZ_PARTIALLY_READABLE,
00794               SVN_ERR_AUTHZ_CATEGORY_START + 2,
00795               "Item is partially readable")
00796 
00797   SVN_ERRDEF (SVN_ERR_AUTHZ_INVALID_CONFIG,
00798               SVN_ERR_AUTHZ_CATEGORY_START + 3,
00799               "Invalid authz configuration")
00800 
00801   /** @since New in 1.3 */
00802   SVN_ERRDEF (SVN_ERR_AUTHZ_UNWRITABLE,
00803               SVN_ERR_AUTHZ_CATEGORY_START + 4,
00804               "Item is not writable")
00805 
00806   /* svndiff errors */
00807 
00808   SVN_ERRDEF (SVN_ERR_SVNDIFF_INVALID_HEADER,
00809               SVN_ERR_SVNDIFF_CATEGORY_START + 0,
00810               "Svndiff data has invalid header")
00811 
00812   SVN_ERRDEF (SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
00813               SVN_ERR_SVNDIFF_CATEGORY_START + 1,
00814               "Svndiff data contains corrupt window")
00815 
00816   SVN_ERRDEF (SVN_ERR_SVNDIFF_BACKWARD_VIEW,
00817               SVN_ERR_SVNDIFF_CATEGORY_START + 2,
00818               "Svndiff data contains backward-sliding source view")
00819 
00820   SVN_ERRDEF (SVN_ERR_SVNDIFF_INVALID_OPS,
00821               SVN_ERR_SVNDIFF_CATEGORY_START + 3,
00822               "Svndiff data contains invalid instruction")
00823 
00824   SVN_ERRDEF (SVN_ERR_SVNDIFF_UNEXPECTED_END,
00825               SVN_ERR_SVNDIFF_CATEGORY_START + 4,
00826               "Svndiff data ends unexpectedly")
00827 
00828   /* mod_dav_svn errors */
00829 
00830   SVN_ERRDEF (SVN_ERR_APMOD_MISSING_PATH_TO_FS,
00831               SVN_ERR_APMOD_CATEGORY_START + 0,
00832               "Apache has no path to an SVN filesystem")
00833 
00834   SVN_ERRDEF (SVN_ERR_APMOD_MALFORMED_URI,
00835               SVN_ERR_APMOD_CATEGORY_START + 1,
00836               "Apache got a malformed URI")
00837 
00838   SVN_ERRDEF (SVN_ERR_APMOD_ACTIVITY_NOT_FOUND,
00839               SVN_ERR_APMOD_CATEGORY_START + 2,
00840               "Activity not found")
00841 
00842   SVN_ERRDEF (SVN_ERR_APMOD_BAD_BASELINE,
00843               SVN_ERR_APMOD_CATEGORY_START + 3,
00844               "Baseline incorrect")
00845 
00846   SVN_ERRDEF (SVN_ERR_APMOD_CONNECTION_ABORTED,
00847               SVN_ERR_APMOD_CATEGORY_START + 4,
00848               "Input/output error")
00849 
00850   /* libsvn_client errors */
00851 
00852   SVN_ERRDEF (SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED,
00853               SVN_ERR_CLIENT_CATEGORY_START + 0,
00854               "A path under version control is needed for this operation")
00855 
00856   SVN_ERRDEF (SVN_ERR_CLIENT_RA_ACCESS_REQUIRED,
00857               SVN_ERR_CLIENT_CATEGORY_START + 1,
00858               "Repository access is needed for this operation")
00859 
00860   SVN_ERRDEF (SVN_ERR_CLIENT_BAD_REVISION,
00861               SVN_ERR_CLIENT_CATEGORY_START + 2,
00862               "Bogus revision information given")
00863 
00864   SVN_ERRDEF (SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL,
00865               SVN_ERR_CLIENT_CATEGORY_START + 3,
00866               "Attempting to commit to a URL more than once")
00867 
00868   SVN_ERRDEF (SVN_ERR_CLIENT_IS_BINARY_FILE,
00869               SVN_ERR_CLIENT_CATEGORY_START + 4,
00870               "Operation does not apply to binary file")
00871 
00872        /*### SVN_PROP_EXTERNALS needed to be replaced with "svn:externals"
00873          in order to get gettext translatable strings */
00874   SVN_ERRDEF (SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION,
00875               SVN_ERR_CLIENT_CATEGORY_START + 5,
00876               "Format of an svn:externals property was invalid")
00877 
00878   SVN_ERRDEF (SVN_ERR_CLIENT_MODIFIED,
00879               SVN_ERR_CLIENT_CATEGORY_START + 6,
00880               "Attempting restricted operation for modified resource")
00881 
00882   SVN_ERRDEF (SVN_ERR_CLIENT_IS_DIRECTORY,
00883               SVN_ERR_CLIENT_CATEGORY_START + 7,
00884               "Operation does not apply to directory")
00885 
00886   SVN_ERRDEF (SVN_ERR_CLIENT_REVISION_RANGE,
00887               SVN_ERR_CLIENT_CATEGORY_START + 8,
00888               "Revision range is not allowed")
00889 
00890   SVN_ERRDEF (SVN_ERR_CLIENT_INVALID_RELOCATION,
00891               SVN_ERR_CLIENT_CATEGORY_START + 9,
00892               "Inter-repository relocation not allowed")
00893 
00894   SVN_ERRDEF (SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE,
00895               SVN_ERR_CLIENT_CATEGORY_START + 10,
00896               "Author name cannot contain a newline")
00897 
00898   SVN_ERRDEF (SVN_ERR_CLIENT_PROPERTY_NAME,
00899               SVN_ERR_CLIENT_CATEGORY_START + 11,
00900               "Bad property name")
00901 
00902   /** @since New in 1.1. */
00903   SVN_ERRDEF (SVN_ERR_CLIENT_UNRELATED_RESOURCES,
00904               SVN_ERR_CLIENT_CATEGORY_START + 12,
00905               "Two versioned resources are unrelated")
00906 
00907   /** @since New in 1.2. */
00908   SVN_ERRDEF (SVN_ERR_CLIENT_MISSING_LOCK_TOKEN,
00909               SVN_ERR_CLIENT_CATEGORY_START + 13,
00910               "Path has no lock token")
00911 
00912   /* misc errors */
00913 
00914   SVN_ERRDEF (SVN_ERR_BASE,
00915               SVN_ERR_MISC_CATEGORY_START + 0,
00916               "A problem occurred; see later errors for details")
00917 
00918   SVN_ERRDEF (SVN_ERR_PLUGIN_LOAD_FAILURE,
00919               SVN_ERR_MISC_CATEGORY_START + 1,
00920               "Failure loading plugin")
00921 
00922   SVN_ERRDEF (SVN_ERR_MALFORMED_FILE,
00923               SVN_ERR_MISC_CATEGORY_START + 2,
00924               "Malformed file")
00925 
00926   SVN_ERRDEF (SVN_ERR_INCOMPLETE_DATA,
00927               SVN_ERR_MISC_CATEGORY_START + 3,
00928               "Incomplete data")
00929 
00930   SVN_ERRDEF (SVN_ERR_INCORRECT_PARAMS,
00931               SVN_ERR_MISC_CATEGORY_START + 4,
00932               "Incorrect parameters given")
00933 
00934   SVN_ERRDEF (SVN_ERR_UNVERSIONED_RESOURCE,
00935               SVN_ERR_MISC_CATEGORY_START + 5,
00936               "Tried a versioning operation on an unversioned resource")
00937 
00938   SVN_ERRDEF (SVN_ERR_TEST_FAILED,
00939               SVN_ERR_MISC_CATEGORY_START + 6,
00940               "Test failed")
00941        
00942   SVN_ERRDEF (SVN_ERR_UNSUPPORTED_FEATURE,
00943               SVN_ERR_MISC_CATEGORY_START + 7,
00944               "Trying to use an unsupported feature")
00945 
00946   SVN_ERRDEF (SVN_ERR_BAD_PROP_KIND,
00947               SVN_ERR_MISC_CATEGORY_START + 8,
00948               "Unexpected or unknown property kind")
00949 
00950   SVN_ERRDEF (SVN_ERR_ILLEGAL_TARGET,
00951               SVN_ERR_MISC_CATEGORY_START + 9,
00952               "Illegal target for the requested operation")
00953 
00954   SVN_ERRDEF (SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT,
00955               SVN_ERR_MISC_CATEGORY_START + 10,
00956               "MD5 checksum is missing")
00957 
00958   SVN_ERRDEF (SVN_ERR_DIR_NOT_EMPTY,
00959               SVN_ERR_MISC_CATEGORY_START + 11,
00960               "Directory needs to be empty but is not")
00961 
00962   SVN_ERRDEF (SVN_ERR_EXTERNAL_PROGRAM,
00963               SVN_ERR_MISC_CATEGORY_START + 12,
00964               "Error calling external program")
00965 
00966   SVN_ERRDEF (SVN_ERR_SWIG_PY_EXCEPTION_SET,
00967               SVN_ERR_MISC_CATEGORY_START + 13,
00968               "Python exception has been set with the error")
00969 
00970   SVN_ERRDEF (SVN_ERR_CHECKSUM_MISMATCH,
00971               SVN_ERR_MISC_CATEGORY_START + 14,
00972               "A checksum mismatch occurred")
00973 
00974   SVN_ERRDEF (SVN_ERR_CANCELLED,
00975               SVN_ERR_MISC_CATEGORY_START + 15,
00976               "The operation was interrupted")
00977 
00978   SVN_ERRDEF (SVN_ERR_INVALID_DIFF_OPTION,
00979               SVN_ERR_MISC_CATEGORY_START + 16,
00980               "The specified diff option is not supported")
00981 
00982   SVN_ERRDEF (SVN_ERR_PROPERTY_NOT_FOUND,
00983               SVN_ERR_MISC_CATEGORY_START + 17,
00984               "Property not found")
00985 
00986   SVN_ERRDEF (SVN_ERR_NO_AUTH_FILE_PATH,
00987               SVN_ERR_MISC_CATEGORY_START + 18,
00988               "No auth file path available")
00989 
00990   /** @since New in 1.1. */
00991   SVN_ERRDEF (SVN_ERR_VERSION_MISMATCH,
00992               SVN_ERR_MISC_CATEGORY_START + 19,
00993               "Incompatible library version")
00994 
00995   /* command-line client errors */
00996 
00997   SVN_ERRDEF (SVN_ERR_CL_ARG_PARSING_ERROR,
00998               SVN_ERR_CL_CATEGORY_START + 0,
00999               "Client error in parsing arguments")
01000 
01001   SVN_ERRDEF (SVN_ERR_CL_INSUFFICIENT_ARGS,
01002               SVN_ERR_CL_CATEGORY_START + 1,
01003               "Not enough args provided")
01004 
01005   SVN_ERRDEF (SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS,
01006               SVN_ERR_CL_CATEGORY_START + 2,
01007               "Mutually exclusive arguments specified")
01008 
01009   SVN_ERRDEF (SVN_ERR_CL_ADM_DIR_RESERVED,
01010               SVN_ERR_CL_CATEGORY_START + 3,
01011               "Attempted command in administrative dir")
01012 
01013   SVN_ERRDEF (SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE,
01014               SVN_ERR_CL_CATEGORY_START + 4,
01015               "The log message file is under version control")
01016 
01017   SVN_ERRDEF (SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME,
01018               SVN_ERR_CL_CATEGORY_START + 5,
01019               "The log message is a pathname")
01020 
01021   SVN_ERRDEF (SVN_ERR_CL_COMMIT_IN_ADDED_DIR,
01022               SVN_ERR_CL_CATEGORY_START + 6,
01023               "Committing in directory scheduled for addition")
01024 
01025   SVN_ERRDEF (SVN_ERR_CL_NO_EXTERNAL_EDITOR,
01026               SVN_ERR_CL_CATEGORY_START + 7,
01027               "No external editor available")
01028 
01029   SVN_ERRDEF (SVN_ERR_CL_BAD_LOG_MESSAGE,
01030               SVN_ERR_CL_CATEGORY_START + 8,
01031               "Something is wrong with the log message's contents")
01032 
01033   SVN_ERRDEF (SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE,
01034               SVN_ERR_CL_CATEGORY_START + 9,
01035               "A log message was given where none was necessary")
01036 
01037 SVN_ERROR_END
01038 
01039 
01040 #undef SVN_ERROR_START
01041 #undef SVN_ERRDEF
01042 #undef SVN_ERROR_END
01043 
01044 #ifdef __cplusplus
01045 }
01046 #endif /* __cplusplus */
01047 
01048 #endif /* defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED) */

Generated on Wed Jun 7 11:02:38 2006 for Subversion by doxygen1.2.18