47 #if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_ERROR_ENUM_DEFINED)
54 #include <apr_errno.h>
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 #if defined(SVN_ERROR_BUILD_ARRAY)
64 #define SVN_ERROR_START \
65 static const err_defn error_table[] = { \
66 { SVN_WARNING, "SVN_WARNING", "Warning" },
67 #define SVN_ERRDEF(num, offset, str) { num, #num, str },
68 #define SVN_ERROR_END { 0, NULL, NULL } };
70 #elif !defined(SVN_ERROR_ENUM_DEFINED)
72 #define SVN_ERROR_START \
73 typedef enum svn_errno_t { \
74 SVN_WARNING = APR_OS_START_USERERR + 1,
75 #define SVN_ERRDEF(num, offset, str) num = offset,
76 #define SVN_ERROR_END SVN_ERR_LAST } svn_errno_t;
78 #define SVN_ERROR_ENUM_DEFINED
103 #define SVN_ERR_CATEGORY_SIZE 5000
107 #define SVN_ERR_BAD_CATEGORY_START (APR_OS_START_USERERR \
108 + ( 1 * SVN_ERR_CATEGORY_SIZE))
109 #define SVN_ERR_XML_CATEGORY_START (APR_OS_START_USERERR \
110 + ( 2 * SVN_ERR_CATEGORY_SIZE))
111 #define SVN_ERR_IO_CATEGORY_START (APR_OS_START_USERERR \
112 + ( 3 * SVN_ERR_CATEGORY_SIZE))
113 #define SVN_ERR_STREAM_CATEGORY_START (APR_OS_START_USERERR \
114 + ( 4 * SVN_ERR_CATEGORY_SIZE))
115 #define SVN_ERR_NODE_CATEGORY_START (APR_OS_START_USERERR \
116 + ( 5 * SVN_ERR_CATEGORY_SIZE))
117 #define SVN_ERR_ENTRY_CATEGORY_START (APR_OS_START_USERERR \
118 + ( 6 * SVN_ERR_CATEGORY_SIZE))
119 #define SVN_ERR_WC_CATEGORY_START (APR_OS_START_USERERR \
120 + ( 7 * SVN_ERR_CATEGORY_SIZE))
121 #define SVN_ERR_FS_CATEGORY_START (APR_OS_START_USERERR \
122 + ( 8 * SVN_ERR_CATEGORY_SIZE))
123 #define SVN_ERR_REPOS_CATEGORY_START (APR_OS_START_USERERR \
124 + ( 9 * SVN_ERR_CATEGORY_SIZE))
125 #define SVN_ERR_RA_CATEGORY_START (APR_OS_START_USERERR \
126 + (10 * SVN_ERR_CATEGORY_SIZE))
127 #define SVN_ERR_RA_DAV_CATEGORY_START (APR_OS_START_USERERR \
128 + (11 * SVN_ERR_CATEGORY_SIZE))
129 #define SVN_ERR_RA_LOCAL_CATEGORY_START (APR_OS_START_USERERR \
130 + (12 * SVN_ERR_CATEGORY_SIZE))
131 #define SVN_ERR_SVNDIFF_CATEGORY_START (APR_OS_START_USERERR \
132 + (13 * SVN_ERR_CATEGORY_SIZE))
133 #define SVN_ERR_APMOD_CATEGORY_START (APR_OS_START_USERERR \
134 + (14 * SVN_ERR_CATEGORY_SIZE))
135 #define SVN_ERR_CLIENT_CATEGORY_START (APR_OS_START_USERERR \
136 + (15 * SVN_ERR_CATEGORY_SIZE))
137 #define SVN_ERR_MISC_CATEGORY_START (APR_OS_START_USERERR \
138 + (16 * SVN_ERR_CATEGORY_SIZE))
139 #define SVN_ERR_CL_CATEGORY_START (APR_OS_START_USERERR \
140 + (17 * SVN_ERR_CATEGORY_SIZE))
141 #define SVN_ERR_RA_SVN_CATEGORY_START (APR_OS_START_USERERR \
142 + (18 * SVN_ERR_CATEGORY_SIZE))
143 #define SVN_ERR_AUTHN_CATEGORY_START (APR_OS_START_USERERR \
144 + (19 * SVN_ERR_CATEGORY_SIZE))
145 #define SVN_ERR_AUTHZ_CATEGORY_START (APR_OS_START_USERERR \
146 + (20 * SVN_ERR_CATEGORY_SIZE))
147 #define SVN_ERR_DIFF_CATEGORY_START (APR_OS_START_USERERR \
148 + (21 * SVN_ERR_CATEGORY_SIZE))
149 #define SVN_ERR_RA_SERF_CATEGORY_START (APR_OS_START_USERERR \
150 + (22 * SVN_ERR_CATEGORY_SIZE))
151 #define SVN_ERR_MALFUNC_CATEGORY_START (APR_OS_START_USERERR \
152 + (23 * SVN_ERR_CATEGORY_SIZE))
153 #define SVN_ERR_X509_CATEGORY_START (APR_OS_START_USERERR \
154 + (24 * SVN_ERR_CATEGORY_SIZE))
165 SVN_ERR_BAD_CATEGORY_START + 0,
166 "Bad parent pool passed to svn_make_pool()")
169 SVN_ERR_BAD_CATEGORY_START + 1,
173 SVN_ERR_BAD_CATEGORY_START + 2,
177 SVN_ERR_BAD_CATEGORY_START + 3,
181 SVN_ERR_BAD_CATEGORY_START + 4,
191 SVN_ERR_BAD_CATEGORY_START + 5,
192 "Wrong or unexpected property value")
195 SVN_ERR_BAD_CATEGORY_START + 6,
196 "Version file format not correct")
199 SVN_ERR_BAD_CATEGORY_START + 7,
200 "Path is not an immediate child of the specified directory")
203 SVN_ERR_BAD_CATEGORY_START + 8,
208 SVN_ERR_BAD_CATEGORY_START + 9,
209 "Invalid configuration value")
212 SVN_ERR_BAD_CATEGORY_START + 10,
213 "Bogus server specification")
216 SVN_ERR_BAD_CATEGORY_START + 11,
217 "Unsupported checksum type")
220 SVN_ERR_BAD_CATEGORY_START + 12,
221 "Invalid character in hex checksum")
225 SVN_ERR_BAD_CATEGORY_START + 13,
226 "Unknown
string value of token")
230 SVN_ERR_BAD_CATEGORY_START + 14,
231 "Invalid changelist name")
235 SVN_ERR_BAD_CATEGORY_START + 15,
240 SVN_ERR_BAD_CATEGORY_START + 16,
241 "Invalid compression method")
245 SVN_ERR_BAD_CATEGORY_START + 17,
246 "Unexpected line ending in the property value")
251 SVN_ERR_XML_CATEGORY_START + 0,
252 "No such XML tag attribute")
255 SVN_ERR_XML_CATEGORY_START + 1,
256 "<delta-pkg> is missing ancestry")
259 SVN_ERR_XML_CATEGORY_START + 2,
260 "Unrecognized binary data encoding; can't decode")
263 SVN_ERR_XML_CATEGORY_START + 3,
264 "XML data was not well-formed")
267 SVN_ERR_XML_CATEGORY_START + 4,
268 "Data cannot be safely XML-escaped")
272 SVN_ERR_XML_CATEGORY_START + 5,
273 "Unexpected XML element found")
278 SVN_ERR_IO_CATEGORY_START + 0,
279 "Inconsistent line ending style")
282 SVN_ERR_IO_CATEGORY_START + 1,
283 "Unrecognized line ending style")
287 SVN_ERR_IO_CATEGORY_START + 2,
288 "Line endings other than expected")
291 SVN_ERR_IO_CATEGORY_START + 3,
292 "Ran out of unique names")
296 SVN_ERR_IO_CATEGORY_START + 4,
297 "Framing error in pipe protocol")
301 SVN_ERR_IO_CATEGORY_START + 5,
302 "Read error in pipe")
305 SVN_ERR_IO_CATEGORY_START + 6,
310 SVN_ERR_IO_CATEGORY_START + 7,
311 "Write error in pipe")
316 SVN_ERR_STREAM_CATEGORY_START + 0,
317 "Unexpected EOF on stream")
320 SVN_ERR_STREAM_CATEGORY_START + 1,
321 "Malformed stream data")
324 SVN_ERR_STREAM_CATEGORY_START + 2,
325 "Unrecognized stream data")
329 SVN_ERR_STREAM_CATEGORY_START + 3,
330 "Stream doesn't support seeking")
334 SVN_ERR_STREAM_CATEGORY_START + 4,
335 "Stream doesn't support this capability")
340 SVN_ERR_NODE_CATEGORY_START + 0,
341 "Unknown svn_node_kind")
344 SVN_ERR_NODE_CATEGORY_START + 1,
345 "Unexpected node kind found")
350 SVN_ERR_ENTRY_CATEGORY_START + 0,
351 "Can't find an entry")
356 SVN_ERR_ENTRY_CATEGORY_START + 2,
357 "Entry already exists")
360 SVN_ERR_ENTRY_CATEGORY_START + 3,
361 "Entry has no revision")
364 SVN_ERR_ENTRY_CATEGORY_START + 4,
368 SVN_ERR_ENTRY_CATEGORY_START + 5,
369 "Entry has an invalid attribute")
372 SVN_ERR_ENTRY_CATEGORY_START + 6,
373 "Can't create an entry for a forbidden name")
378 SVN_ERR_WC_CATEGORY_START + 0,
383 SVN_ERR_WC_CATEGORY_START + 1,
384 "Mismatch popping the WC unwind stack")
388 SVN_ERR_WC_CATEGORY_START + 2,
389 "Attempt to pop empty WC unwind stack")
393 SVN_ERR_WC_CATEGORY_START + 3,
394 "Attempt to unlock with non-empty unwind stack")
397 SVN_ERR_WC_CATEGORY_START + 4,
398 "Attempted to lock an already-locked dir")
401 SVN_ERR_WC_CATEGORY_START + 5,
402 "Working copy not locked; this is probably a bug, please report")
406 SVN_ERR_WC_CATEGORY_START + 6,
412 SVN_ERR_WC_CATEGORY_START + 7,
413 "Path is not a working copy directory")
419 "Path is not a working copy directory")
422 SVN_ERR_WC_CATEGORY_START + 8,
423 "Path is not a working copy file")
426 SVN_ERR_WC_CATEGORY_START + 9,
427 "Problem running log")
430 SVN_ERR_WC_CATEGORY_START + 10,
431 "Can't find a working copy path")
434 SVN_ERR_WC_CATEGORY_START + 11,
435 "Working copy is not up-to-date")
438 SVN_ERR_WC_CATEGORY_START + 12,
439 "Left locally modified or unversioned files")
442 SVN_ERR_WC_CATEGORY_START + 13,
443 "Unmergeable scheduling requested on an entry")
446 SVN_ERR_WC_CATEGORY_START + 14,
447 "Found a working copy path")
450 SVN_ERR_WC_CATEGORY_START + 15,
451 "A conflict in the working copy obstructs the current operation")
454 SVN_ERR_WC_CATEGORY_START + 16,
455 "Working copy is corrupt")
458 SVN_ERR_WC_CATEGORY_START + 17,
459 "Working copy text base is corrupt")
462 SVN_ERR_WC_CATEGORY_START + 18,
463 "Cannot change node kind")
466 SVN_ERR_WC_CATEGORY_START + 19,
467 "Invalid operation on the current working directory")
470 SVN_ERR_WC_CATEGORY_START + 20,
471 "Problem on first log entry in a working copy")
474 SVN_ERR_WC_CATEGORY_START + 21,
475 "Unsupported working copy format")
478 SVN_ERR_WC_CATEGORY_START + 22,
479 "Path syntax not supported in this context")
483 SVN_ERR_WC_CATEGORY_START + 23,
488 SVN_ERR_WC_CATEGORY_START + 24,
489 "Invalid relocation")
493 SVN_ERR_WC_CATEGORY_START + 25,
498 SVN_ERR_WC_CATEGORY_START + 26,
499 "Changelist doesn't match")
503 SVN_ERR_WC_CATEGORY_START + 27,
504 "Conflict resolution failed")
507 SVN_ERR_WC_CATEGORY_START + 28,
508 "Failed to locate 'copyfrom' path in working copy")
515 SVN_ERR_WC_CATEGORY_START + 29,
516 "Moving a path from one changelist to another")
520 SVN_ERR_WC_CATEGORY_START + 30,
521 "Cannot delete a file external")
525 SVN_ERR_WC_CATEGORY_START + 31,
526 "Cannot move a file external")
530 SVN_ERR_WC_CATEGORY_START + 32,
531 "Something's amiss with the wc sqlite database")
535 SVN_ERR_WC_CATEGORY_START + 33,
536 "The working copy is missing")
540 SVN_ERR_WC_CATEGORY_START + 34,
541 "The specified node is not a symlink")
545 SVN_ERR_WC_CATEGORY_START + 35,
546 "The specified path has an unexpected
status")
550 SVN_ERR_WC_CATEGORY_START + 36,
551 "The working copy needs to be upgraded")
555 SVN_ERR_WC_CATEGORY_START + 37,
556 "Previous operation has not finished; "
557 "run 'cleanup' if it was interrupted")
561 SVN_ERR_WC_CATEGORY_START + 38,
562 "The operation cannot be performed with the specified depth")
566 SVN_ERR_WC_CATEGORY_START + 39,
567 "Couldn't open a working copy file because access was denied")
571 SVN_ERR_WC_CATEGORY_START + 40,
572 "Mixed-revision working copy was found but not expected")
576 SVN_ERR_WC_CATEGORY_START + 41,
577 "Duplicate targets in svn:externals property")
582 SVN_ERR_FS_CATEGORY_START + 0,
583 "General filesystem error")
586 SVN_ERR_FS_CATEGORY_START + 1,
587 "Error closing filesystem")
590 SVN_ERR_FS_CATEGORY_START + 2,
591 "Filesystem is already open")
594 SVN_ERR_FS_CATEGORY_START + 3,
595 "Filesystem is not open")
598 SVN_ERR_FS_CATEGORY_START + 4,
599 "Filesystem is corrupt")
602 SVN_ERR_FS_CATEGORY_START + 5,
603 "Invalid filesystem path syntax")
606 SVN_ERR_FS_CATEGORY_START + 6,
607 "Invalid filesystem revision number")
610 SVN_ERR_FS_CATEGORY_START + 7,
611 "Invalid filesystem transaction name")
614 SVN_ERR_FS_CATEGORY_START + 8,
615 "Filesystem directory has no such entry")
618 SVN_ERR_FS_CATEGORY_START + 9,
619 "Filesystem has no such representation")
622 SVN_ERR_FS_CATEGORY_START + 10,
623 "Filesystem has no such
string")
626 SVN_ERR_FS_CATEGORY_START + 11,
627 "Filesystem has no such copy")
630 SVN_ERR_FS_CATEGORY_START + 12,
631 "The specified transaction is not mutable")
634 SVN_ERR_FS_CATEGORY_START + 13,
635 "Filesystem has no item")
638 SVN_ERR_FS_CATEGORY_START + 14,
639 "Filesystem has no such node-rev-
id")
642 SVN_ERR_FS_CATEGORY_START + 15,
643 "String does not represent a node or node-rev-
id")
646 SVN_ERR_FS_CATEGORY_START + 16,
647 "Name does not refer to a filesystem directory")
650 SVN_ERR_FS_CATEGORY_START + 17,
651 "Name does not refer to a filesystem file")
654 SVN_ERR_FS_CATEGORY_START + 18,
655 "Name is not a single path component")
658 SVN_ERR_FS_CATEGORY_START + 19,
659 "Attempt to change immutable filesystem node")
662 SVN_ERR_FS_CATEGORY_START + 20,
663 "Item already exists in filesystem")
666 SVN_ERR_FS_CATEGORY_START + 21,
667 "Attempt to remove or recreate fs root dir")
670 SVN_ERR_FS_CATEGORY_START + 22,
671 "Object is not a transaction root")
674 SVN_ERR_FS_CATEGORY_START + 23,
675 "Object is not a revision root")
678 SVN_ERR_FS_CATEGORY_START + 24,
679 "Merge conflict during commit")
682 SVN_ERR_FS_CATEGORY_START + 25,
683 "A representation vanished or changed between reads")
686 SVN_ERR_FS_CATEGORY_START + 26,
687 "Tried to change an immutable representation")
690 SVN_ERR_FS_CATEGORY_START + 27,
691 "Malformed skeleton data")
694 SVN_ERR_FS_CATEGORY_START + 28,
695 "Transaction is out of date")
698 SVN_ERR_FS_CATEGORY_START + 29,
702 SVN_ERR_FS_CATEGORY_START + 30,
703 "Berkeley DB deadlock error")
706 SVN_ERR_FS_CATEGORY_START + 31,
707 "Transaction is dead")
710 SVN_ERR_FS_CATEGORY_START + 32,
711 "Transaction is not dead")
715 SVN_ERR_FS_CATEGORY_START + 33,
720 SVN_ERR_FS_CATEGORY_START + 34,
721 "No user associated with filesystem")
725 SVN_ERR_FS_CATEGORY_START + 35,
726 "Path is already locked")
730 SVN_ERR_FS_CATEGORY_START + 36,
731 "Path is not locked")
735 SVN_ERR_FS_CATEGORY_START + 37,
736 "Lock token is incorrect")
740 SVN_ERR_FS_CATEGORY_START + 38,
741 "No lock token provided")
745 SVN_ERR_FS_CATEGORY_START + 39,
746 "Username does not match lock owner")
750 SVN_ERR_FS_CATEGORY_START + 40,
751 "Filesystem has no such lock")
755 SVN_ERR_FS_CATEGORY_START + 41,
760 SVN_ERR_FS_CATEGORY_START + 42,
761 "Item is out of date")
772 SVN_ERR_FS_CATEGORY_START + 43,
773 "Unsupported FS format")
777 SVN_ERR_FS_CATEGORY_START + 44,
778 "Representation is being written")
782 SVN_ERR_FS_CATEGORY_START + 45,
783 "The generated transaction name is too
long")
787 SVN_ERR_FS_CATEGORY_START + 46,
788 "Filesystem has no such node origin record")
792 SVN_ERR_FS_CATEGORY_START + 47,
793 "Filesystem upgrade is not supported")
797 SVN_ERR_FS_CATEGORY_START + 48,
798 "Filesystem has no such checksum-representation index record")
802 SVN_ERR_FS_CATEGORY_START + 49,
803 "Property value in filesystem differs from the provided "
808 SVN_ERR_FS_CATEGORY_START + 50,
809 "The filesystem editor completion process was not followed")
813 SVN_ERR_FS_CATEGORY_START + 51,
814 "A packed revprop could not be read")
818 SVN_ERR_FS_CATEGORY_START + 52,
819 "Could not initialize the revprop caching infrastructure.")
823 SVN_ERR_FS_CATEGORY_START + 53,
824 "Malformed transaction ID
string.")
828 SVN_ERR_FS_CATEGORY_START + 54,
829 "Corrupt index file.")
833 SVN_ERR_FS_CATEGORY_START + 55,
834 "Revision not covered by index.")
838 SVN_ERR_FS_CATEGORY_START + 56,
839 "Item index too large for this revision.")
843 SVN_ERR_FS_CATEGORY_START + 57,
844 "Container index out of range.")
848 SVN_ERR_FS_CATEGORY_START + 58,
849 "Index files are inconsistent.")
853 SVN_ERR_FS_CATEGORY_START + 59,
854 "Lock operation failed")
858 SVN_ERR_FS_CATEGORY_START + 60,
859 "Unsupported FS type")
863 SVN_ERR_FS_CATEGORY_START + 61,
864 "Container capacity exceeded.")
868 SVN_ERR_FS_CATEGORY_START + 62,
869 "Malformed node revision ID
string.")
873 SVN_ERR_FS_CATEGORY_START + 63,
874 "Invalid generation number data.")
878 SVN_ERR_FS_CATEGORY_START + 64,
879 "Revprop manifest corrupt.")
883 SVN_ERR_FS_CATEGORY_START + 65,
884 "Property list is corrupt.")
888 SVN_ERR_FS_CATEGORY_START + 67,
889 "Content checksums supposedly match but content does not.")
893 SVN_ERR_FS_CATEGORY_START + 68,
894 "Unrecognized filesystem I/O control code")
898 SVN_ERR_FS_CATEGORY_START + 69,
899 "Rep-sharing is not allowed.")
903 SVN_ERR_FS_CATEGORY_START + 70,
904 "Rep-sharing is not supported.")
909 SVN_ERR_REPOS_CATEGORY_START + 0,
910 "The repository is locked, perhaps for db recovery")
913 SVN_ERR_REPOS_CATEGORY_START + 1,
914 "A repository hook failed")
917 SVN_ERR_REPOS_CATEGORY_START + 2,
918 "Incorrect arguments supplied")
921 SVN_ERR_REPOS_CATEGORY_START + 3,
922 "A report cannot be generated because no data was supplied")
925 SVN_ERR_REPOS_CATEGORY_START + 4,
926 "Bogus revision report")
934 SVN_ERR_REPOS_CATEGORY_START + 5,
935 "Unsupported repository version")
938 SVN_ERR_REPOS_CATEGORY_START + 6,
939 "Disabled repository feature")
942 SVN_ERR_REPOS_CATEGORY_START + 7,
943 "Error running post-commit hook")
947 SVN_ERR_REPOS_CATEGORY_START + 8,
948 "Error running post-lock hook")
952 SVN_ERR_REPOS_CATEGORY_START + 9,
953 "Error running post-unlock hook")
957 SVN_ERR_REPOS_CATEGORY_START + 10,
958 "Repository upgrade is not supported")
963 SVN_ERR_RA_CATEGORY_START + 0,
964 "Bad URL passed to RA layer")
967 SVN_ERR_RA_CATEGORY_START + 1,
968 "Authorization failed")
971 SVN_ERR_RA_CATEGORY_START + 2,
972 "Unknown authorization method")
975 SVN_ERR_RA_CATEGORY_START + 3,
976 "Repository access method not implemented")
979 SVN_ERR_RA_CATEGORY_START + 4,
980 "Item is out of date")
983 SVN_ERR_RA_CATEGORY_START + 5,
984 "Repository has no UUID")
987 SVN_ERR_RA_CATEGORY_START + 6,
988 "Unsupported RA plugin ABI version")
992 SVN_ERR_RA_CATEGORY_START + 7,
993 "Path is not locked")
997 SVN_ERR_RA_CATEGORY_START + 8,
998 "Server can only replay from the root of a repository")
1002 SVN_ERR_RA_CATEGORY_START + 9,
1003 "Repository UUID does not match expected UUID")
1007 SVN_ERR_RA_CATEGORY_START + 10,
1008 "Repository root URL does not match expected root URL")
1012 SVN_ERR_RA_CATEGORY_START + 11,
1013 "Session URL does not match expected session URL")
1017 SVN_ERR_RA_CATEGORY_START + 12,
1018 "Can't create tunnel")
1022 SVN_ERR_RA_CATEGORY_START + 13,
1023 "Can't create session")
1028 SVN_ERR_RA_DAV_CATEGORY_START + 0,
1029 "RA layer failed to init socket layer")
1032 SVN_ERR_RA_DAV_CATEGORY_START + 1,
1033 "RA layer failed to create HTTP request")
1036 SVN_ERR_RA_DAV_CATEGORY_START + 2,
1037 "RA layer request failed")
1040 SVN_ERR_RA_DAV_CATEGORY_START + 3,
1041 "RA layer didn't receive requested OPTIONS info")
1044 SVN_ERR_RA_DAV_CATEGORY_START + 4,
1045 "RA layer failed to fetch properties")
1048 SVN_ERR_RA_DAV_CATEGORY_START + 5,
1049 "RA layer file already exists")
1055 SVN_ERR_RA_DAV_CATEGORY_START + 6,
1056 "Invalid configuration value")
1062 SVN_ERR_RA_DAV_CATEGORY_START + 7,
1063 "HTTP Path Not Found")
1066 SVN_ERR_RA_DAV_CATEGORY_START + 8,
1067 "Failed to execute WebDAV PROPPATCH")
1071 SVN_ERR_RA_DAV_CATEGORY_START + 9,
1072 "Malformed network data")
1076 SVN_ERR_RA_DAV_CATEGORY_START + 10,
1077 "Unable to extract data from response header")
1081 SVN_ERR_RA_DAV_CATEGORY_START + 11,
1082 "Repository has been moved")
1086 SVN_ERR_RA_DAV_CATEGORY_START + 12,
1087 "Connection timed out")
1091 SVN_ERR_RA_DAV_CATEGORY_START + 13,
1096 SVN_ERR_RA_DAV_CATEGORY_START + 14,
1097 "The server state conflicts with the requested preconditions")
1101 SVN_ERR_RA_DAV_CATEGORY_START + 15,
1102 "The URL doesn't allow the requested method")
1107 SVN_ERR_RA_LOCAL_CATEGORY_START + 0,
1108 "Couldn't find a repository")
1111 SVN_ERR_RA_LOCAL_CATEGORY_START + 1,
1112 "Couldn't open a repository")
1117 SVN_ERR_SVNDIFF_CATEGORY_START + 0,
1118 "Svndiff data has invalid header")
1121 SVN_ERR_SVNDIFF_CATEGORY_START + 1,
1122 "Svndiff data contains corrupt window")
1125 SVN_ERR_SVNDIFF_CATEGORY_START + 2,
1126 "Svndiff data contains backward-sliding source view")
1129 SVN_ERR_SVNDIFF_CATEGORY_START + 3,
1130 "Svndiff data contains invalid instruction")
1133 SVN_ERR_SVNDIFF_CATEGORY_START + 4,
1134 "Svndiff data ends unexpectedly")
1137 SVN_ERR_SVNDIFF_CATEGORY_START + 5,
1138 "Svndiff compressed data is invalid")
1143 SVN_ERR_APMOD_CATEGORY_START + 0,
1144 "Apache has no path to an SVN filesystem")
1147 SVN_ERR_APMOD_CATEGORY_START + 1,
1148 "Apache got a malformed URI")
1151 SVN_ERR_APMOD_CATEGORY_START + 2,
1152 "Activity not found")
1155 SVN_ERR_APMOD_CATEGORY_START + 3,
1156 "Baseline incorrect")
1159 SVN_ERR_APMOD_CATEGORY_START + 4,
1160 "Input/output error")
1165 SVN_ERR_CLIENT_CATEGORY_START + 0,
1166 "A path under version control is needed for this operation")
1169 SVN_ERR_CLIENT_CATEGORY_START + 1,
1170 "Repository access is needed for this operation")
1173 SVN_ERR_CLIENT_CATEGORY_START + 2,
1174 "Bogus revision information given")
1177 SVN_ERR_CLIENT_CATEGORY_START + 3,
1178 "Attempting to commit to a URL more than once")
1181 SVN_ERR_CLIENT_CATEGORY_START + 4,
1182 "Operation does not apply to binary file")
1187 SVN_ERR_CLIENT_CATEGORY_START + 5,
1188 "Format of an svn:externals property was invalid")
1191 SVN_ERR_CLIENT_CATEGORY_START + 6,
1192 "Attempting restricted operation for modified resource")
1195 SVN_ERR_CLIENT_CATEGORY_START + 7,
1196 "Operation does not apply to directory")
1199 SVN_ERR_CLIENT_CATEGORY_START + 8,
1200 "Revision range is not allowed")
1203 SVN_ERR_CLIENT_CATEGORY_START + 9,
1204 "Inter-repository relocation not allowed")
1207 SVN_ERR_CLIENT_CATEGORY_START + 10,
1208 "Author name cannot contain a newline")
1211 SVN_ERR_CLIENT_CATEGORY_START + 11,
1212 "Bad property name")
1216 SVN_ERR_CLIENT_CATEGORY_START + 12,
1217 "Two versioned resources are unrelated")
1221 SVN_ERR_CLIENT_CATEGORY_START + 13,
1222 "Path has no lock token")
1226 SVN_ERR_CLIENT_CATEGORY_START + 14,
1227 "Operation does not support multiple sources")
1231 SVN_ERR_CLIENT_CATEGORY_START + 15,
1232 "No versioned parent directories")
1236 SVN_ERR_CLIENT_CATEGORY_START + 16,
1237 "Working copy and merge source not ready for reintegration")
1241 SVN_ERR_CLIENT_CATEGORY_START + 17,
1242 "A file external cannot overwrite an existing versioned item")
1246 SVN_ERR_CLIENT_CATEGORY_START + 18,
1247 "Invalid path component strip count specified")
1251 SVN_ERR_CLIENT_CATEGORY_START + 19,
1252 "Detected a cycle while processing the operation")
1256 SVN_ERR_CLIENT_CATEGORY_START + 20,
1257 "Working copy and merge source not ready for reintegration")
1261 SVN_ERR_CLIENT_CATEGORY_START + 21,
1262 "Invalid mergeinfo detected in merge target")
1266 SVN_ERR_CLIENT_CATEGORY_START + 22,
1267 "Can't perform this operation without a valid lock token")
1271 SVN_ERR_CLIENT_CATEGORY_START + 23,
1272 "The operation is forbidden by the server")
1276 SVN_ERR_CLIENT_CATEGORY_START + 24,
1277 "The conflict resolution option is not applicable")
1282 SVN_ERR_MISC_CATEGORY_START + 0,
1283 "A problem occurred; see other errors for details")
1286 SVN_ERR_MISC_CATEGORY_START + 1,
1287 "Failure loading plugin")
1290 SVN_ERR_MISC_CATEGORY_START + 2,
1294 SVN_ERR_MISC_CATEGORY_START + 3,
1298 SVN_ERR_MISC_CATEGORY_START + 4,
1299 "Incorrect parameters given")
1302 SVN_ERR_MISC_CATEGORY_START + 5,
1303 "Tried a versioning operation on an unversioned resource")
1306 SVN_ERR_MISC_CATEGORY_START + 6,
1310 SVN_ERR_MISC_CATEGORY_START + 7,
1311 "Trying to use an unsupported feature")
1314 SVN_ERR_MISC_CATEGORY_START + 8,
1318 SVN_ERR_MISC_CATEGORY_START + 9,
1319 "Illegal target for the requested operation")
1322 SVN_ERR_MISC_CATEGORY_START + 10,
1323 "MD5 checksum is missing")
1326 SVN_ERR_MISC_CATEGORY_START + 11,
1327 "Directory needs to be empty but is not")
1330 SVN_ERR_MISC_CATEGORY_START + 12,
1331 "Error calling external program")
1334 SVN_ERR_MISC_CATEGORY_START + 13,
1335 "Python exception has been set with the error")
1338 SVN_ERR_MISC_CATEGORY_START + 14,
1339 "A checksum mismatch occurred")
1342 SVN_ERR_MISC_CATEGORY_START + 15,
1343 "The operation was interrupted")
1346 SVN_ERR_MISC_CATEGORY_START + 16,
1347 "The specified diff option is not supported")
1350 SVN_ERR_MISC_CATEGORY_START + 17,
1351 "Property not found")
1354 SVN_ERR_MISC_CATEGORY_START + 18,
1355 "No auth file path available")
1359 SVN_ERR_MISC_CATEGORY_START + 19,
1360 "Incompatible library version")
1364 SVN_ERR_MISC_CATEGORY_START + 20,
1365 "Mergeinfo parse error")
1369 SVN_ERR_MISC_CATEGORY_START + 21,
1370 "Cease invocation of this API")
1374 SVN_ERR_MISC_CATEGORY_START + 22,
1375 "Error parsing revision number")
1379 SVN_ERR_MISC_CATEGORY_START + 23,
1380 "Iteration terminated before completion")
1384 SVN_ERR_MISC_CATEGORY_START + 24,
1385 "Unknown changelist")
1389 SVN_ERR_MISC_CATEGORY_START + 25,
1390 "Reserved directory name in command line arguments")
1394 SVN_ERR_MISC_CATEGORY_START + 26,
1399 SVN_ERR_MISC_CATEGORY_START + 27,
1404 SVN_ERR_MISC_CATEGORY_START + 28,
1405 "APR memcache library not available")
1409 SVN_ERR_MISC_CATEGORY_START + 29,
1410 "Couldn't perform atomic initialization")
1414 SVN_ERR_MISC_CATEGORY_START + 30,
1419 SVN_ERR_MISC_CATEGORY_START + 31,
1420 "Attempted to write to readonly SQLite db")
1426 SVN_ERR_MISC_CATEGORY_START + 32,
1427 "Unsupported schema found in SQLite db")
1431 SVN_ERR_MISC_CATEGORY_START + 33,
1432 "The SQLite db is busy")
1436 SVN_ERR_MISC_CATEGORY_START + 34,
1437 "SQLite busy at transaction rollback; "
1438 "resetting all busy SQLite statements to allow rollback")
1442 SVN_ERR_MISC_CATEGORY_START + 35,
1443 "Constraint error in SQLite db")
1447 SVN_ERR_MISC_CATEGORY_START + 36,
1448 "Too many memcached servers configured")
1452 SVN_ERR_MISC_CATEGORY_START + 37,
1453 "Failed to parse version number
string")
1457 SVN_ERR_MISC_CATEGORY_START + 38,
1458 "Atomic data storage is corrupt")
1462 SVN_ERR_MISC_CATEGORY_START + 39,
1463 "utf8proc library error")
1467 SVN_ERR_MISC_CATEGORY_START + 40,
1468 "Bad arguments to SQL operators GLOB or LIKE")
1472 SVN_ERR_MISC_CATEGORY_START + 41,
1473 "Packed data stream is corrupt")
1477 SVN_ERR_MISC_CATEGORY_START + 42,
1478 "Additional errors:")
1482 SVN_ERR_MISC_CATEGORY_START + 43,
1483 "Parser error: invalid input")
1487 SVN_ERR_MISC_CATEGORY_START + 44,
1488 "SQLite transaction rollback failed")
1492 SVN_ERR_MISC_CATEGORY_START + 45,
1493 "LZ4 compression failed")
1497 SVN_ERR_MISC_CATEGORY_START + 46,
1498 "LZ4 decompression failed")
1502 SVN_ERR_MISC_CATEGORY_START + 47,
1503 "Could not canonicalize path or URI")
1508 SVN_ERR_CL_CATEGORY_START + 0,
1509 "Error parsing arguments")
1512 SVN_ERR_CL_CATEGORY_START + 1,
1513 "Not enough arguments provided")
1516 SVN_ERR_CL_CATEGORY_START + 2,
1517 "Mutually exclusive arguments specified")
1520 SVN_ERR_CL_CATEGORY_START + 3,
1521 "Attempted command in administrative dir")
1524 SVN_ERR_CL_CATEGORY_START + 4,
1525 "The log message file is under version control")
1528 SVN_ERR_CL_CATEGORY_START + 5,
1529 "The log message is a pathname")
1532 SVN_ERR_CL_CATEGORY_START + 6,
1533 "Committing in directory scheduled for addition")
1536 SVN_ERR_CL_CATEGORY_START + 7,
1537 "No external editor available")
1540 SVN_ERR_CL_CATEGORY_START + 8,
1541 "Something is wrong with the log message's contents")
1544 SVN_ERR_CL_CATEGORY_START + 9,
1545 "A log message was given where none was necessary")
1548 SVN_ERR_CL_CATEGORY_START + 10,
1549 "No external merge tool available")
1552 SVN_ERR_CL_CATEGORY_START + 11,
1553 "Failed processing one or more externals definitions")
1557 SVN_ERR_CL_CATEGORY_START + 12,
1558 "Repository verification failed")
1563 SVN_ERR_RA_SVN_CATEGORY_START + 0,
1564 "Special code for wrapping server errors to report to client")
1567 SVN_ERR_RA_SVN_CATEGORY_START + 1,
1568 "Unknown svn protocol command")
1571 SVN_ERR_RA_SVN_CATEGORY_START + 2,
1572 "Network connection closed unexpectedly")
1575 SVN_ERR_RA_SVN_CATEGORY_START + 3,
1576 "Network read/write error")
1579 SVN_ERR_RA_SVN_CATEGORY_START + 4,
1580 "Malformed network data")
1583 SVN_ERR_RA_SVN_CATEGORY_START + 5,
1584 "Couldn't find a repository")
1587 SVN_ERR_RA_SVN_CATEGORY_START + 6,
1588 "Client/server version mismatch")
1592 SVN_ERR_RA_SVN_CATEGORY_START + 7,
1593 "Cannot negotiate authentication mechanism")
1597 SVN_ERR_RA_SVN_CATEGORY_START + 8,
1598 "Editor drive was aborted")
1602 SVN_ERR_RA_SVN_CATEGORY_START + 9,
1603 "Client request too
long")
1607 SVN_ERR_RA_SVN_CATEGORY_START + 10,
1608 "Server response too
long")
1615 SVN_ERR_AUTHN_CATEGORY_START + 0,
1616 "Credential data unavailable")
1619 SVN_ERR_AUTHN_CATEGORY_START + 1,
1620 "No authentication provider available")
1623 SVN_ERR_AUTHN_CATEGORY_START + 2,
1624 "All authentication providers exhausted")
1627 SVN_ERR_AUTHN_CATEGORY_START + 3,
1628 "Credentials not saved")
1632 SVN_ERR_AUTHN_CATEGORY_START + 4,
1633 "Authentication failed")
1638 SVN_ERR_AUTHZ_CATEGORY_START + 0,
1639 "Read access denied for root of edit")
1643 SVN_ERR_AUTHZ_CATEGORY_START + 1,
1644 "Item is not readable")
1648 SVN_ERR_AUTHZ_CATEGORY_START + 2,
1649 "Item is partially readable")
1652 SVN_ERR_AUTHZ_CATEGORY_START + 3,
1653 "Invalid authz configuration")
1657 SVN_ERR_AUTHZ_CATEGORY_START + 4,
1658 "Item is not writable")
1664 SVN_ERR_DIFF_CATEGORY_START + 0,
1665 "Diff data source modified unexpectedly")
1669 SVN_ERR_DIFF_CATEGORY_START + 1,
1670 "Diff data unexpected")
1676 SVN_ERR_RA_SERF_CATEGORY_START + 0,
1677 "Initialization of SSPI library failed")
1682 SVN_ERR_RA_SERF_CATEGORY_START + 1,
1683 "Server SSL certificate untrusted")
1687 SVN_ERR_RA_SERF_CATEGORY_START + 2,
1688 "Initialization of the GSSAPI context failed")
1692 SVN_ERR_RA_SERF_CATEGORY_START + 3,
1693 "While handling serf response:")
1697 SVN_ERR_RA_SERF_CATEGORY_START + 4,
1698 "Can't read from stream")
1703 SVN_ERR_MALFUNC_CATEGORY_START + 0,
1704 "Assertion failure")
1707 SVN_ERR_MALFUNC_CATEGORY_START + 1,
1708 "No non-tracing links found in the error chain")
1715 SVN_ERR_X509_CATEGORY_START + 0,
1716 "Unexpected end of ASN1 data")
1719 SVN_ERR_X509_CATEGORY_START + 1,
1720 "Unexpected ASN1 tag")
1723 SVN_ERR_X509_CATEGORY_START + 2,
1724 "Invalid ASN1 length")
1727 SVN_ERR_X509_CATEGORY_START + 3,
1728 "ASN1 length mismatch")
1731 SVN_ERR_X509_CATEGORY_START + 4,
1732 "Invalid ASN1 data")
1735 SVN_ERR_X509_CATEGORY_START + 5,
1736 "Unavailable X509 feature")
1739 SVN_ERR_X509_CATEGORY_START + 6,
1740 "Invalid PEM certificate")
1743 SVN_ERR_X509_CATEGORY_START + 7,
1744 "Invalid certificate format")
1747 SVN_ERR_X509_CATEGORY_START + 8,
1748 "Invalid certificate version")
1751 SVN_ERR_X509_CATEGORY_START + 9,
1752 "Invalid certificate serial number")
1755 SVN_ERR_X509_CATEGORY_START + 10,
1756 "Found invalid algorithm in certificate")
1759 SVN_ERR_X509_CATEGORY_START + 11,
1760 "Found invalid name in certificate")
1763 SVN_ERR_X509_CATEGORY_START + 12,
1764 "Found invalid date in certificate")
1767 SVN_ERR_X509_CATEGORY_START + 13,
1768 "Found invalid public key in certificate")
1771 SVN_ERR_X509_CATEGORY_START + 14,
1772 "Found invalid signature in certificate")
1775 SVN_ERR_X509_CATEGORY_START + 15,
1776 "Found invalid extensions in certificate")
1779 SVN_ERR_X509_CATEGORY_START + 16,
1780 "Unknown certificate version")
1783 SVN_ERR_X509_CATEGORY_START + 17,
1787 SVN_ERR_X509_CATEGORY_START + 18,
1788 "Certificate signature mismatch")
1791 SVN_ERR_X509_CATEGORY_START + 19,
1792 "Certificate verification failed")
1797 #undef SVN_ERROR_START
1799 #undef SVN_ERROR_END