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