Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
error_codes.hxx File Reference
#include <system_error>
Include dependency graph for error_codes.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  couchbase
 Represents a single item from the result of collection::scan()
 
namespace  couchbase::errc
 

Enumerations

enum class  common {
  request_canceled = 2 , invalid_argument = 3 , service_not_available = 4 , internal_server_failure = 5 ,
  authentication_failure = 6 , temporary_failure = 7 , parsing_failure = 8 , cas_mismatch = 9 ,
  bucket_not_found = 10 , collection_not_found = 11 , unsupported_operation = 12 , ambiguous_timeout = 13 ,
  unambiguous_timeout = 14 , feature_not_available = 15 , scope_not_found = 16 , index_not_found = 17 ,
  index_exists = 18 , encoding_failure = 19 , decoding_failure = 20 , rate_limited = 21 ,
  quota_limited = 22
}
 Common errors for all services and modules. More...
 
enum class  key_value {
  document_not_found = 101 , document_irretrievable = 102 , document_locked = 103 , value_too_large = 104 ,
  document_exists = 105 , durability_level_not_available = 107 , durability_impossible = 108 , durability_ambiguous = 109 ,
  durable_write_in_progress = 110 , durable_write_re_commit_in_progress = 111 , path_not_found = 113 , path_mismatch = 114 ,
  path_invalid = 115 , path_too_big = 116 , path_too_deep = 117 , value_too_deep = 118 ,
  value_invalid = 119 , document_not_json = 120 , number_too_big = 121 , delta_invalid = 122 ,
  path_exists = 123 , xattr_unknown_macro = 124 , xattr_invalid_key_combo = 126 , xattr_unknown_virtual_attribute = 127 ,
  xattr_cannot_modify_virtual_attribute = 128 , xattr_no_access = 130 , document_not_locked = 131 , cannot_revive_living_document = 132 ,
  mutation_token_outdated = 133 , range_scan_completed = 134
}
 Errors for related to Key/Value service (kv_engine) More...
 
enum class  query { planning_failure = 201 , index_failure = 202 , prepared_statement_failure = 203 , dml_failure = 204 }
 Errors related to Query service (N1QL) More...
 
enum class  analytics {
  compilation_failure = 301 , job_queue_full = 302 , dataset_not_found = 303 , dataverse_not_found = 304 ,
  dataset_exists = 305 , dataverse_exists = 306 , link_not_found = 307 , link_exists = 308
}
 Errors related to Analytics service (CBAS) More...
 
enum class  search { index_not_ready = 401 , consistency_mismatch = 402 }
 Errors related to Search service (CBFT) More...
 
enum class  view { view_not_found = 501 , design_document_not_found = 502 }
 Errors related to Views service (CAPI) More...
 
enum class  management {
  collection_exists = 601 , scope_exists = 602 , user_not_found = 603 , group_not_found = 604 ,
  bucket_exists = 605 , user_exists = 606 , bucket_not_flushable = 607 , eventing_function_not_found = 608 ,
  eventing_function_not_deployed = 609 , eventing_function_compilation_failure = 610 , eventing_function_identical_keyspace = 611 , eventing_function_not_bootstrapped = 612 ,
  eventing_function_deployed = 613 , eventing_function_paused = 614
}
 Errors related to management service (ns_server) More...
 
enum class  field_level_encryption {
  generic_cryptography_failure = 700 , encryption_failure = 701 , decryption_failure = 702 , crypto_key_not_found = 703 ,
  invalid_crypto_key = 704 , decrypter_not_found = 705 , encrypter_not_found = 706 , invalid_ciphertext = 707
}
 Field-Level Encryption Error Definitions. More...
 
enum class  network {
  resolve_failure = 1001 , no_endpoints_left = 1002 , handshake_failure = 1003 , protocol_error = 1004 ,
  configuration_not_available = 1005 , cluster_closed = 1006 , end_of_stream = 1007 , need_more_data = 1008 ,
  operation_queue_closed = 1009 , operation_queue_full = 1010 , request_already_queued = 1011 , request_cancelled = 1012 ,
  bucket_closed = 1013
}
 Errors related to networking IO. More...
 
enum class  streaming_json_lexer {
  garbage_trailing = 1101 , special_expected = 1102 , special_incomplete = 1103 , stray_token = 1104 ,
  missing_token = 1105 , cannot_insert = 1106 , escape_outside_string = 1107 , key_outside_object = 1108 ,
  string_outside_container = 1109 , found_null_byte = 1110 , levels_exceeded = 1111 , bracket_mismatch = 1112 ,
  object_key_expected = 1113 , weird_whitespace = 1114 , unicode_escape_is_too_short = 1115 , escape_invalid = 1116 ,
  trailing_comma = 1117 , invalid_number = 1118 , value_expected = 1119 , percent_bad_hex = 1120 ,
  json_pointer_bad_path = 1121 , json_pointer_duplicated_slash = 1122 , json_pointer_missing_root = 1123 , not_enough_memory = 1124 ,
  invalid_codepoint = 1125 , generic = 1126 , root_is_not_an_object = 1127 , root_does_not_match_json_pointer = 1128
}
 Errors related to streaming JSON parser. More...
 
enum class  transaction { failed = 1200 , expired = 1201 , failed_post_commit = 1202 , ambiguous = 1203 }
 Errors related to a failed transaction. More...
 
enum class  transaction_op {
  generic = 1300 , active_transaction_record_entry_not_found = 1301 , active_transaction_record_full = 1302 , active_transaction_record_not_found = 1303 ,
  document_already_in_transaction = 1304 , document_exists = 1305 , document_not_found = 1306 , feature_not_available = 1307 ,
  transaction_aborted_externally = 1308 , previous_operation_failed = 1309 , forward_compatibility_failure = 1310 , parsing_failure = 1311 ,
  illegal_state = 1312 , service_not_available = 1313 , request_canceled = 1314 , concurrent_operations_detected_on_same_document = 1315 ,
  commit_not_permitted = 1316 , rollback_not_permitted = 1317 , transaction_already_aborted = 1318 , transaction_already_committed = 1319 ,
  transaction_op_failed = 1399
}
 Errors related to a failed transaction operation. More...