Initial commit
[yaz4j-moved-to-github.git] / dependencies / yaz-2.1.28 / src / diagsrw.c
1 /** \file diagsrw.c
2     \brief Diagnostics: Generated by csvtodiag.tcl from ./srw.csv */
3
4 #include "diag-entry.h"
5 #include "./../include/yaz/diagsrw.h"
6 struct yaz_diag_entry yaz_diag_srw_tab[] = {
7
8 {1, "Permanent system error"},
9 {2, "System temporarily unavailable"},
10 {3, "Authentication error"},
11 {4, "Unsupported operation"},
12 {5, "Unsupported version"},
13 {6, "Unsupported parameter value"},
14 {7, "Mandatory parameter not supplied"},
15 {8, "Unsupported parameter"},
16 {10, "Query syntax error"},
17 {11, "Unsupported query type"},
18 {12, "Too many characters in query"},
19 {13, "Invalid or unsupported use of parentheses"},
20 {14, "Invalid or unsupported use of quotes"},
21 {15, "Unsupported context set"},
22 {16, "Unsupported index"},
23 {17, "Unsupported combination of index and context set"},
24 {18, "Unsupported combination of indexes"},
25 {19, "Unsupported relation"},
26 {20, "Unsupported relation modifier"},
27 {21, "Unsupported combination of relation modifers"},
28 {22, "Unsupported combination of relation and index"},
29 {23, "Too many characters in term"},
30 {24, "Unsupported combination of relation and term"},
31 {25, "Special characters not quoted in term"},
32 {26, "Non special character escaped in term"},
33 {27, "Empty term unsupported"},
34 {28, "Masking character not supported"},
35 {29, "Masked words too short"},
36 {30, "Too many masking characters in term"},
37 {31, "Anchoring character not supported"},
38 {32, "Anchoring character in unsupported position"},
39 {33, "Combination of proximity/adjacency and masking characters not supported"},
40 {34, "Combination of proximity/adjacency and anchoring characters not supported"},
41 {35, "Terms only exclusion stopwords"},
42 {36, "Term in invalid format for index or relation"},
43 {37, "Unsupported boolean operator"},
44 {38, "Too many boolean operators in query"},
45 {39, "Proximity not supported"},
46 {40, "Unsupported proximity relation"},
47 {41, "Unsupported proximity distance"},
48 {42, "Unsupported proximity unit"},
49 {43, "Unsupported proximity ordering"},
50 {44, "Unsupported combination of proximity modifiers"},
51 {45, "Prefix assigned to multiple identifiers"},
52 {46, "Unsupported boolean modifier"},
53 {47, "Cannot process query; reason unknown"},
54 {48, "Query feature unsupported"},
55 {49, "Masking character in unsupported position"},
56 {50, "Result sets not supported"},
57 {51, "Result set does not exist"},
58 {52, "Result set temporarily unavailable"},
59 {53, "Result sets only supported for retrieval"},
60 {54, "Retrieval may only occur from an existing result set"},
61 {55, "Combination of result sets with search terms not supported"},
62 {56, "Only combination of single result set with search terms supported"},
63 {57, "Result set created but no records available"},
64 {58, "Result set created with unpredictable partial results available"},
65 {59, "Result set created with valid partial results available"},
66 {60, "Result set no created: too many records retrieved"},
67 {61, "First record position out of range"},
68 {62, "Negative number of records requested"},
69 {63, "System error in retrieving records"},
70 {64, "Record temporarily unavailable"},
71 {65, "Record does not exist"},
72 {66, "Unknown schema for retrieval"},
73 {67, "Record not available in this schema"},
74 {68, "Not authorised to send record"},
75 {69, "Not authorised to send record in this schema"},
76 {70, "Record too large to send"},
77 {71, "Unsupported record packing"},
78 {72, "XPath retrieval unsupported"},
79 {73, "XPath expression contains unsupported feature"},
80 {74, "Unable to evaluate XPath expression"},
81 {80, "Sort not supported"},
82 {81, "Unsupported sort type"},
83 {82, "Unsupported sort sequence"},
84 {83, "Too many records to sort"},
85 {84, "Too many sort keys to sort"},
86 {85, "Duplicate sort keys"},
87 {86, "Cannot sort: incompatible record formats"},
88 {87, "Unsupported schema for sort"},
89 {88, "Unsupported path for sort"},
90 {89, "Path unsupported for schema"},
91 {90, "Unsupported direction value"},
92 {91, "Unsupported case value"},
93 {92, "Unsupported missing value action"},
94 {100, "Explain not supported"},
95 {101, "Explain request type not supported (SOAP vs GET)"},
96 {102, "Explain record temporarily unavailable"},
97 {110, "Stylesheets not supported"},
98 {111, "Unsupported stylesheet"},
99 {120, "Response position out of range"},
100 {121, "Too many terms requested"},
101 {0, 0}};
102 const char *yaz_diag_srw_str(int code)
103 {
104     return yaz_diag_to_str(yaz_diag_srw_tab, code);
105 }