Couchbase C++ SDK 1.5.0 (rev. 380784c)
Loading...
Searching...
No Matches
error_codes.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright 2020-Present Couchbase, Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#pragma once
19
20#include <system_error>
21
22namespace couchbase
23{
24#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
25namespace core::impl
26{
27auto
28common_category() noexcept -> const std::error_category&;
29
30auto
31key_value_category() noexcept -> const std::error_category&;
32
33auto
34query_category() noexcept -> const std::error_category&;
35
36auto
37analytics_category() noexcept -> const std::error_category&;
38
39auto
40search_category() noexcept -> const std::error_category&;
41
42auto
43view_category() noexcept -> const std::error_category&;
44
45auto
46management_category() noexcept -> const std::error_category&;
47
48auto
49field_level_encryption_category() noexcept -> const std::error_category&;
50
51auto
52network_category() noexcept -> const std::error_category&;
53
54auto
55streaming_json_lexer_category() noexcept -> const std::error_category&;
56
57auto
58transaction_category() noexcept -> const std::error_category&;
59
60auto
61transaction_op_category() noexcept -> const std::error_category&;
62
63} // namespace core::impl
64#endif
65
66namespace errc
67{
74enum class common {
84
95
106
113 // Query: Error range 5xxx
114 // Analytics: Error range 25xxx
115 // KV: error code ERR_INTERNAL (0x84)
116 // Search: HTTP 500
118
125 // Query: Error range 10xxx
126 // Analytics: Error range 20xxx
127 // View: HTTP status 401
128 // KV: error code ERR_ACCESS (0x24), ERR_AUTH_ERROR (0x20), AUTH_STALE (0x1f)
129 // Search: HTTP status 401, 403
131
140 // Analytics: Errors: 23000, 23003
141 // KV: Error code ERR_TMPFAIL (0x86), ERR_BUSY (0x85) ERR_OUT_OF_MEMORY (0x82),
142 // ERR_NOT_INITIALIZED (0x25)
144
151 // Query: code 3000
152 // Analytics: codes 24000
154
168 // KV: ERR_EXISTS (0x02) when replace or remove with cas
169 // Query: code 12009
171
179
187
194 // KV: 0x81 (unknown command), 0x83 (not supported)
196
207
217
225
233
240 // Query: Codes 12004, 12016 (warning: regex ahead!) Codes 5000 AND message contains index .+ not
241 // found Analytics: Raised When 24047 Search: Http status code 400 AND text contains “index not
242 // found”
244
251 // Query:
252 // Note: the uppercase index for 5000 is not a mistake (also only match on exist not exists
253 // because there is a typo
254 // somewhere in query engine which might either print exist or exists depending on the codepath)
255 // Code 5000 AND message contains Index .+ already exist
256 // Code 4300 AND message contains index .+ already exist
257 //
258 // Analytics: Raised When 24048
260
268
276
287 /*
288 * Raised when a service decides that the caller must be rate limited due to exceeding a rate
289 * threshold of some sort.
290 *
291 * * KeyValue
292 * 0x30 RateLimitedNetworkIngress -> NetworkIngressRateLimitReached
293 * 0x31 RateLimitedNetworkEgress -> NetworkEgressRateLimitReached
294 * 0x32 RateLimitedMaxConnections -> MaximumConnectionsReached
295 * 0x33 RateLimitedMaxCommands -> RequestRateLimitReached
296 *
297 * * Cluster Manager (body check tbd)
298 * HTTP 429, Body contains "Limit(s) exceeded [num_concurrent_requests]" ->
299 * ConcurrentRequestLimitReached HTTP 429, Body contains "Limit(s) exceeded [ingress]" ->
300 * NetworkIngressRateLimitReached HTTP 429, Body contains "Limit(s) exceeded [egress]" ->
301 * NetworkEgressRateLimitReached Note: when multiple user limits are exceeded the array would
302 * contain all the limits exceeded, as "Limit(s) exceeded [num_concurrent_requests,egress]"
303 *
304 * * Query
305 * Code 1191, Message E_SERVICE_USER_REQUEST_EXCEEDED -> RequestRateLimitReached
306 * Code 1192, Message E_SERVICE_USER_REQUEST_RATE_EXCEEDED -> ConcurrentRequestLimitReached
307 * Code 1193, Message E_SERVICE_USER_REQUEST_SIZE_EXCEEDED -> NetworkIngressRateLimitReached
308 * Code 1194, Message E_SERVICE_USER_RESULT_SIZE_EXCEEDED -> NetworkEgressRateLimitReached
309 *
310 * * Search
311 * HTTP 429, {"status": "fail", "error": "num_concurrent_requests, value >= limit"} ->
312 * ConcurrentRequestLimitReached HTTP 429, {"status": "fail", "error": "num_queries_per_min, value
313 * >= limit"}: -> RequestRateLimitReached HTTP 429, {"status": "fail", "error":
314 * "ingress_mib_per_min >= limit"} -> NetworkIngressRateLimitReached HTTP 429, {"status": "fail",
315 * "error": "egress_mib_per_min >= limit"} -> NetworkEgressRateLimitReached
316 *
317 * * Analytics
318 * Not applicable at the moment.
319 *
320 * * Views
321 * Not applicable.
322 */
324
332 /*
333 * Raised when a service decides that the caller must be limited due to exceeding a quota
334 * threshold of some sort.
335 *
336 * * KeyValue
337 * 0x34 ScopeSizeLimitExceeded
338 *
339 * * Cluster Manager
340 * HTTP 429, Body contains "Maximum number of collections has been reached for scope
341 * "<scope_name>""
342 *
343 * * Query
344 * Code 5000, Body contains "Limit for number of indexes that can be created per scope has been
345 * reached. Limit : value"
346 *
347 * * Search
348 * HTTP 400 (Bad request), {"status": "fail", "error": "rest_create_index: error creating index:
349 * {indexName}, err: manager_api: CreateIndex, Prepare failed, err: num_fts_indexes (active +
350 * pending) >= limit"}
351 * * Analytics
352 * Not applicable at the moment
353 *
354 * * Views
355 * Not applicable
356 */
358};
359
366enum class key_value {
373 // KV Code 0x01
375
385
396 // KV Code 0x09
398
405 // KV Code 0x03
407
414 // KV Code 0x02
416
423 // KV Code 0xa0
425
433 // KV Code 0xa1
435
444 // KV Code 0xa3
446
453 // KV Code 0xa2
455
463 // KV Code 0xa4
465
472 // KV Code 0xc0
474
482 // KV Code 0xc1
484
491 // KV Code 0xc2
493
501 // KV Code 0xc3
503
510 // KV Code 0xc4
512
520 // KV Code 0xca
522
530 // KV Code 0xc5
532
539 // KV Code 0xc6
541
548 // KV Code 0xc7
550
557 // KV Code 0xc8
559
566 // KV Code 0xc9
568
575 // KV Code: 0xd0
577
584 // KV Code: 0xcf
586
593 // KV Code: 0xd1
595
602 // KV Code: 0xd2
604
613 // KV Code: 0x24
615
623 // KV Code: 0x0e
625
632 // KV Code: 0xd6
634
641 // KV Code: 0xa8
643
647 // KV Code: 0xa7
649
659
670
681};
682
689enum class query {
696 // Raised When code range 4xxx other than those explicitly covered
698
706 // Raised When code range 12xxx and 14xxx (other than 12004 and 12016)
708
715 // Raised When codes 4040, 4050, 4060, 4070, 4080, 4090
717
724 // Raised when code 12009 AND message does not contain CAS mismatch
726};
727
734enum class analytics {
741 // Error range 24xxx (excluded are specific codes in the errors below)
743
750 // Error code 23007
752
759 // Error codes 24044, 24045, 24025
761
768 // Error code 24034
770
777 // Raised When 24040
779
786 // Raised When 24039
788
795 // Raised When 24006
797
804 // Raised When 24055
806};
807
814enum class search {
822
830};
831
838enum class view {
845 // Http status code 404
846 // Reason or error contains "not_found"
848
855 // Raised on the Management APIs only when
856 // * Getting a design document
857 // * Dropping a design document
858 // * And the server returns 404
860};
861
918
997
1095
1132
1139enum class transaction {
1140 failed = 1200,
1141 expired = 1201,
1144};
1145
1184
1185#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
1186inline auto
1187make_error_code(common e) noexcept -> std::error_code
1188{
1189 return { static_cast<int>(e), core::impl::common_category() };
1190}
1191
1192inline auto
1193make_error_code(key_value e) -> std::error_code
1194{
1195 return { static_cast<int>(e), core::impl::key_value_category() };
1196}
1197
1198inline auto
1199make_error_code(query e) -> std::error_code
1200{
1201 return { static_cast<int>(e), core::impl::query_category() };
1202}
1203
1204inline auto
1205make_error_code(search e) -> std::error_code
1206{
1207 return { static_cast<int>(e), core::impl::search_category() };
1208}
1209
1210inline auto
1211make_error_code(view e) -> std::error_code
1212{
1213 return { static_cast<int>(e), core::impl::view_category() };
1214}
1215
1216inline auto
1217make_error_code(analytics e) -> std::error_code
1218{
1219 return { static_cast<int>(e), core::impl::analytics_category() };
1220}
1221
1222inline auto
1223make_error_code(management e) -> std::error_code
1224{
1225 return { static_cast<int>(e), core::impl::management_category() };
1226}
1227
1228inline auto
1229make_error_code(network e) -> std::error_code
1230{
1231 return { static_cast<int>(e), core::impl::network_category() };
1232}
1233
1234inline auto
1235make_error_code(field_level_encryption e) -> std::error_code
1236{
1237 return { static_cast<int>(e), core::impl::field_level_encryption_category() };
1238}
1239
1240inline auto
1241make_error_code(streaming_json_lexer e) -> std::error_code
1242{
1243 return { static_cast<int>(e), core::impl::streaming_json_lexer_category() };
1244}
1245
1246inline auto
1247make_error_code(transaction e) -> std::error_code
1248{
1249 return { static_cast<int>(e), core::impl::transaction_category() };
1250}
1251
1252inline auto
1253make_error_code(transaction_op e) -> std::error_code
1254{
1255 return { static_cast<int>(e), core::impl::transaction_op_category() };
1256}
1257
1258#endif
1259} // namespace errc
1260} // namespace couchbase
1261
1262#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
1263template<>
1264struct std::is_error_code_enum<couchbase::errc::common> : std::true_type {
1265};
1266
1267template<>
1268struct std::is_error_code_enum<couchbase::errc::key_value> : std::true_type {
1269};
1270
1271template<>
1272struct std::is_error_code_enum<couchbase::errc::query> : std::true_type {
1273};
1274
1275template<>
1276struct std::is_error_code_enum<couchbase::errc::analytics> : std::true_type {
1277};
1278
1279template<>
1280struct std::is_error_code_enum<couchbase::errc::search> : std::true_type {
1281};
1282
1283template<>
1284struct std::is_error_code_enum<couchbase::errc::view> : std::true_type {
1285};
1286
1287template<>
1288struct std::is_error_code_enum<couchbase::errc::management> : std::true_type {
1289};
1290
1291template<>
1292struct std::is_error_code_enum<couchbase::errc::field_level_encryption> : std::true_type {
1293};
1294
1295template<>
1296struct std::is_error_code_enum<couchbase::errc::network> : std::true_type {
1297};
1298
1299template<>
1300struct std::is_error_code_enum<couchbase::errc::streaming_json_lexer> : std::true_type {
1301};
1302
1303template<>
1304struct std::is_error_code_enum<couchbase::errc::transaction> : std::true_type {
1305};
1306
1307template<>
1308struct std::is_error_code_enum<couchbase::errc::transaction_op> : std::true_type {
1309};
1310
1311#endif
Definition expiry.hxx:24
Definition error_codes.hxx:67
transaction_op
Errors related to a failed transaction operation.
Definition error_codes.hxx:1152
@ active_transaction_record_not_found
Definition error_codes.hxx:1160
@ document_unretrievable
Definition error_codes.hxx:1177
@ active_transaction_record_entry_not_found
Definition error_codes.hxx:1158
@ concurrent_operations_detected_on_same_document
Definition error_codes.hxx:1172
@ transaction_already_committed
Definition error_codes.hxx:1176
@ transaction_op_failed
Definition error_codes.hxx:1182
@ active_transaction_record_full
Definition error_codes.hxx:1159
@ forward_compatibility_failure
Definition error_codes.hxx:1167
@ commit_not_permitted
Definition error_codes.hxx:1173
@ transaction_aborted_externally
Definition error_codes.hxx:1165
@ transaction_already_aborted
Definition error_codes.hxx:1175
@ document_already_in_transaction
Definition error_codes.hxx:1161
@ rollback_not_permitted
Definition error_codes.hxx:1174
@ previous_operation_failed
Definition error_codes.hxx:1166
@ illegal_state
Definition error_codes.hxx:1169
key_value
Errors for related to Key/Value service (kv_engine).
Definition error_codes.hxx:366
@ path_exists
A sub-document operation which relies on a path not existing encountered a path which exists.
Definition error_codes.hxx:567
@ value_too_large
The value that was sent was too large to store (typically > 20MB).
Definition error_codes.hxx:406
@ xattr_unknown_virtual_attribute
A sub-document operation attempts to access an unknown virtual attribute.
Definition error_codes.hxx:594
@ document_not_locked
The document is already locked - generally returned when an unlocking operation is being performed.
Definition error_codes.hxx:624
@ document_not_found_on_replica
The document was not found on the replica that get_replica() read from.
Definition error_codes.hxx:658
@ replica_index_currently_unavailable
The replica exists for this bucket, but cannot be read now.
Definition error_codes.hxx:680
@ value_too_deep
The value provided, if inserted into the document, would cause the document to become too deep for th...
Definition error_codes.hxx:521
@ xattr_unknown_macro
A macro was used which the server did not understand.
Definition error_codes.hxx:576
@ durable_write_re_commit_in_progress
The server is currently working to synchronize all replicas for previously performed durable operatio...
Definition error_codes.hxx:464
@ xattr_invalid_key_combo
A sub-document operation attempts to access multiple XATTRs in one operation.
Definition error_codes.hxx:585
@ path_too_deep
The document contains too many levels to parse.
Definition error_codes.hxx:511
@ document_not_found
Indicates an operation failed because the key does not exist.
Definition error_codes.hxx:374
@ path_mismatch
The path provided for a sub-document operation did not match the actual structure of the document.
Definition error_codes.hxx:483
@ cannot_revive_living_document
Only deleted document could be revived.
Definition error_codes.hxx:633
@ xattr_no_access
The user does not have permission to access the attribute.
Definition error_codes.hxx:614
@ durable_write_in_progress
A durable write is attempted against a key which already has a pending durable write.
Definition error_codes.hxx:454
@ document_locked
Returned when the server reports a temporary failure that is very likely to be lock-related (like an ...
Definition error_codes.hxx:397
@ durability_ambiguous
A sync-write has not completed in the specified time and has an ambiguous result – it may have succee...
Definition error_codes.hxx:445
@ path_not_found
The path provided for a sub-document operation was not found.
Definition error_codes.hxx:473
@ document_not_json
A sub-document operation is performed on a non-JSON document.
Definition error_codes.hxx:540
@ xattr_cannot_modify_virtual_attribute
A sub-document operation attempts to modify a virtual attribute.
Definition error_codes.hxx:603
@ number_too_big
The existing number is outside the valid range for arithmetic operations.
Definition error_codes.hxx:549
@ replica_index_out_of_bounds
The bucket has no replica at the requested index: the index is at or beyond its configured replica co...
Definition error_codes.hxx:669
@ document_exists
An operation which relies on the document not existing fails because the document existed.
Definition error_codes.hxx:415
@ path_invalid
The path provided for a sub-document operation was not syntactically correct.
Definition error_codes.hxx:492
@ durability_impossible
The specified durability requirements are not currently possible (for example, there are an insuffici...
Definition error_codes.hxx:434
@ mutation_token_outdated
The provided mutation token is outdated compared to the current state of the server.
Definition error_codes.hxx:642
@ document_irretrievable
In get_any_replica, the get_all_replicas returns an empty stream because all the individual errors ar...
Definition error_codes.hxx:384
@ value_invalid
The value provided for a sub-document operation would invalidate the JSON structure of the document i...
Definition error_codes.hxx:531
@ delta_invalid
The delta value specified for an operation is too large.
Definition error_codes.hxx:558
@ durability_level_not_available
The specified durability level is invalid.
Definition error_codes.hxx:424
@ path_too_big
The path provided for a sub-document operation is too long, or contains too many independent componen...
Definition error_codes.hxx:502
@ range_scan_completed
Definition error_codes.hxx:648
field_level_encryption
Field-Level Encryption Error Definitions.
Definition error_codes.hxx:925
@ invalid_crypto_key
Raised by an encrypter or decrypter when the key does not meet expectations (for example,...
Definition error_codes.hxx:969
@ encrypter_not_found
Raised when a message cannot be encrypted because there is no encrypter registered under the requeste...
Definition error_codes.hxx:987
@ generic_cryptography_failure
Generic cryptography failure.
Definition error_codes.hxx:932
@ encryption_failure
Raised by CryptoManager encrypt when encryption fails for any reason.
Definition error_codes.hxx:942
@ crypto_key_not_found
Raised when a crypto operation fails because a required key is missing.
Definition error_codes.hxx:960
@ decryption_failure
Raised by CryptoManager.decrypt() when decryption fails for any reason.
Definition error_codes.hxx:952
@ decrypter_not_found
Raised when a message cannot be decrypted because there is no decrypter registered for the algorithm.
Definition error_codes.hxx:978
@ invalid_ciphertext
Raised when decryption fails due to malformed input, integrity check failure, etc.
Definition error_codes.hxx:995
search
Errors related to Search service (CBFT).
Definition error_codes.hxx:814
@ consistency_mismatch
Consistency constraints cannot be accepted by the server.
Definition error_codes.hxx:829
@ index_not_ready
The index referenced in the query is not ready yet.
Definition error_codes.hxx:821
view
Errors related to Views service (CAPI).
Definition error_codes.hxx:838
@ view_not_found
View does not exist on the server.
Definition error_codes.hxx:847
@ design_document_not_found
Design document does not exist on the server.
Definition error_codes.hxx:859
network
Errors related to networking IO.
Definition error_codes.hxx:1004
@ request_cancelled
Definition error_codes.hxx:1087
@ end_of_stream
Definition error_codes.hxx:1057
@ need_more_data
Definition error_codes.hxx:1063
@ operation_queue_closed
Definition error_codes.hxx:1069
@ bucket_closed
Definition error_codes.hxx:1093
@ request_already_queued
Definition error_codes.hxx:1081
@ resolve_failure
Unable to resolve node address.
Definition error_codes.hxx:1011
@ operation_queue_full
Definition error_codes.hxx:1075
@ handshake_failure
Failed to complete protocol handshake.
Definition error_codes.hxx:1027
@ protocol_error
Unexpected protocol state or input.
Definition error_codes.hxx:1035
@ no_endpoints_left
No hosts left to connect.
Definition error_codes.hxx:1019
@ configuration_not_available
Configuration is not available for some reason.
Definition error_codes.hxx:1043
@ cluster_closed
The cluster object has been explicitly closed, no requests allowed.
Definition error_codes.hxx:1051
query
Errors related to Query service (N1QL).
Definition error_codes.hxx:689
@ planning_failure
Indicates an operation failed because there has been an issue with the query planner.
Definition error_codes.hxx:697
@ index_failure
Indicates an operation failed because there has been an issue with the query planner or similar.
Definition error_codes.hxx:707
@ dml_failure
This exception is raised when the server fails to execute a DML query.
Definition error_codes.hxx:725
@ prepared_statement_failure
Indicates an operation failed because there has been an issue with query prepared statements.
Definition error_codes.hxx:716
transaction
Errors related to a failed transaction.
Definition error_codes.hxx:1139
@ ambiguous
Definition error_codes.hxx:1143
@ failed
Definition error_codes.hxx:1140
@ failed_post_commit
Definition error_codes.hxx:1142
@ expired
Definition error_codes.hxx:1141
management
Errors related to management service (ns_server).
Definition error_codes.hxx:868
@ group_not_found
Raised from the user management API.
Definition error_codes.hxx:879
@ eventing_function_compilation_failure
Occurs when the compilation of the function code failed name is "ERR_HANDLER_COMPILATION".
Definition error_codes.hxx:900
@ eventing_function_identical_keyspace
Occurs when source and metadata keyspaces are the same.
Definition error_codes.hxx:904
@ bucket_not_flushable
Raised from the bucket management API.
Definition error_codes.hxx:888
@ eventing_function_paused
Occurs when a function is paused but the action does not expect it to name is "ERR_APP_PAUSED".
Definition error_codes.hxx:916
@ eventing_function_not_bootstrapped
Occurs when a function is deployed but not “fully” bootstrapped name is "ERR_APP_NOT_BOOTSTRAPPED".
Definition error_codes.hxx:908
@ eventing_function_deployed
Occurs when a function is deployed but the action does not expect it to name is "ERR_APP_NOT_UNDEPLOY...
Definition error_codes.hxx:912
@ eventing_function_not_deployed
Occurs if the function is not deployed, but the action expects it to name is "ERR_APP_NOT_DEPLOYED".
Definition error_codes.hxx:896
@ user_not_found
Raised from the user management API.
Definition error_codes.hxx:876
@ collection_exists
Raised from the collection management API.
Definition error_codes.hxx:870
@ eventing_function_not_found
Occurs if the function is not found name is "ERR_APP_NOT_FOUND_TS".
Definition error_codes.hxx:892
@ scope_exists
Raised from the collection management API.
Definition error_codes.hxx:873
@ user_exists
Raised from the user management API.
Definition error_codes.hxx:885
@ bucket_exists
Raised from the bucket management API.
Definition error_codes.hxx:882
analytics
Errors related to Analytics service (CBAS).
Definition error_codes.hxx:734
@ link_not_found
The link referenced in the query is not found on the server.
Definition error_codes.hxx:796
@ job_queue_full
Indicates the analytics server job queue is full.
Definition error_codes.hxx:751
@ dataset_not_found
The dataset referenced in the query is not found on the server.
Definition error_codes.hxx:760
@ link_exists
The link referenced in the query is found on the server, when it should not be.
Definition error_codes.hxx:805
@ dataverse_not_found
The dataverse referenced in the query is not found on the server.
Definition error_codes.hxx:769
@ dataverse_exists
The dataverse referenced in the query is found on the server, when it should not be.
Definition error_codes.hxx:787
@ dataset_exists
The dataset referenced in the query is found on the server, when it should not be.
Definition error_codes.hxx:778
@ compilation_failure
The query failed to compile.
Definition error_codes.hxx:742
streaming_json_lexer
Errors related to streaming JSON parser.
Definition error_codes.hxx:1102
@ json_pointer_duplicated_slash
Definition error_codes.hxx:1124
@ json_pointer_bad_path
Definition error_codes.hxx:1123
@ missing_token
Definition error_codes.hxx:1107
@ invalid_codepoint
Definition error_codes.hxx:1127
@ special_incomplete
Definition error_codes.hxx:1105
@ bracket_mismatch
Definition error_codes.hxx:1114
@ key_outside_object
Definition error_codes.hxx:1110
@ garbage_trailing
Definition error_codes.hxx:1103
@ stray_token
Definition error_codes.hxx:1106
@ value_expected
Definition error_codes.hxx:1121
@ escape_invalid
Definition error_codes.hxx:1118
@ percent_bad_hex
Definition error_codes.hxx:1122
@ found_null_byte
Definition error_codes.hxx:1112
@ invalid_number
Definition error_codes.hxx:1120
@ cannot_insert
Definition error_codes.hxx:1108
@ not_enough_memory
Definition error_codes.hxx:1126
@ trailing_comma
Definition error_codes.hxx:1119
@ root_is_not_an_object
Definition error_codes.hxx:1129
@ unicode_escape_is_too_short
Definition error_codes.hxx:1117
@ escape_outside_string
Definition error_codes.hxx:1109
@ root_does_not_match_json_pointer
Definition error_codes.hxx:1130
@ special_expected
Definition error_codes.hxx:1104
@ levels_exceeded
Definition error_codes.hxx:1113
@ string_outside_container
Definition error_codes.hxx:1111
@ json_pointer_missing_root
Definition error_codes.hxx:1125
@ weird_whitespace
Definition error_codes.hxx:1116
@ object_key_expected
Definition error_codes.hxx:1115
common
Common errors for all services and modules.
Definition error_codes.hxx:74
@ bucket_not_found
A request is made but the current bucket is not found.
Definition error_codes.hxx:178
@ cas_mismatch
Indicates an optimistic locking failure.
Definition error_codes.hxx:170
@ service_not_available
It can be determined from the config unambiguously that a given service is not available.
Definition error_codes.hxx:105
@ encoding_failure
Returned when encoding of a user object failed while trying to write it to the cluster.
Definition error_codes.hxx:267
@ internal_server_failure
Indicates an operation failed because there has been an internal error in the server.
Definition error_codes.hxx:117
@ temporary_failure
Returned when the server reports a temporary failure.
Definition error_codes.hxx:143
@ decoding_failure
Returned when decoding of the data into the user object failed.
Definition error_codes.hxx:275
@ unambiguous_timeout
A timeout occurs and we are confident that the operation could not have succeeded.
Definition error_codes.hxx:216
@ rate_limited
This error is raised if the operation failed due to hitting a rate-limit on the server side.
Definition error_codes.hxx:323
@ ambiguous_timeout
A timeout occurs and we aren't sure if the underlying operation has completed.
Definition error_codes.hxx:206
@ collection_not_found
A request is made but the current collection (including scope) is not found.
Definition error_codes.hxx:186
@ scope_not_found
A management API attempts to target a scope which does not exist.
Definition error_codes.hxx:232
@ index_not_found
The index that was referenced by the operation does not exist on the server.
Definition error_codes.hxx:243
@ feature_not_available
A feature which is not available was used.
Definition error_codes.hxx:224
@ index_exists
The index that was referenced by the operation exist on the server when it expected not to.
Definition error_codes.hxx:259
@ unsupported_operation
The server indicates that the operation is not supported.
Definition error_codes.hxx:195
@ authentication_failure
Indicates authentication problems.
Definition error_codes.hxx:130
@ parsing_failure
Indicates an operation failed because parsing of the input returned with an error.
Definition error_codes.hxx:153
@ invalid_argument
It is unambiguously determined that the error was caused because of invalid arguments from the user.
Definition error_codes.hxx:94
@ quota_limited
This error is raised if the operation failed due to hitting a quota-limit on the server side.
Definition error_codes.hxx:357
@ request_canceled
A request is cancelled and cannot be resolved in a non-ambiguous way.
Definition error_codes.hxx:83
Represents a single item from the result of scan().
Definition allow_querying_search_index_options.hxx:28