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