...
1 package qnamakerruntime
2
3
4
5
6
7
8
9
10 type ErrorCodeType string
11
12 const (
13
14 BadArgument ErrorCodeType = "BadArgument"
15
16 EndpointKeysError ErrorCodeType = "EndpointKeysError"
17
18 ExtractionFailure ErrorCodeType = "ExtractionFailure"
19
20 Forbidden ErrorCodeType = "Forbidden"
21
22 KbNotFound ErrorCodeType = "KbNotFound"
23
24 NotFound ErrorCodeType = "NotFound"
25
26 OperationNotFound ErrorCodeType = "OperationNotFound"
27
28 QnaRuntimeError ErrorCodeType = "QnaRuntimeError"
29
30 QuotaExceeded ErrorCodeType = "QuotaExceeded"
31
32 ServiceError ErrorCodeType = "ServiceError"
33
34 SKULimitExceeded ErrorCodeType = "SKULimitExceeded"
35
36 Unauthorized ErrorCodeType = "Unauthorized"
37
38 Unspecified ErrorCodeType = "Unspecified"
39
40 ValidationFailure ErrorCodeType = "ValidationFailure"
41 )
42
43
44 func PossibleErrorCodeTypeValues() []ErrorCodeType {
45 return []ErrorCodeType{BadArgument, EndpointKeysError, ExtractionFailure, Forbidden, KbNotFound, NotFound, OperationNotFound, QnaRuntimeError, QuotaExceeded, ServiceError, SKULimitExceeded, Unauthorized, Unspecified, ValidationFailure}
46 }
47
48
49 type StrictFiltersCompoundOperationType string
50
51 const (
52
53 AND StrictFiltersCompoundOperationType = "AND"
54
55 OR StrictFiltersCompoundOperationType = "OR"
56 )
57
58
59 func PossibleStrictFiltersCompoundOperationTypeValues() []StrictFiltersCompoundOperationType {
60 return []StrictFiltersCompoundOperationType{AND, OR}
61 }
62
View as plain text