svn_error_codes.h

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

Generated on Tue Oct 7 04:09:55 2008 for Subversion by  doxygen 1.3.9.1