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

Generated on Sat Feb 3 13:51:29 2007 for Subversion by  doxygen 1.4.2