Enum representing the various error types that can occur while operating on BSON values.
Enumerator |
---|
k_cannot_append_key_in_sub_array | A new key was appended while building a subarray.
|
k_cannot_close_array_in_sub_document | A subarray was closed while building a subdocument.
|
k_cannot_close_document_in_sub_array | A subdocument was closed while building a subarray.
|
k_cannot_perform_array_operation_on_document | An array operation was performed while building a document.
|
k_cannot_perform_document_operation_on_array | A document operation was performed while building an array.
|
k_need_element_type_k_double | The underlying value does not have the requested type.
|
k_need_element_type_k_string | The underlying value does not have the requested type.
|
k_need_element_type_k_document | The underlying value does not have the requested type.
|
k_need_element_type_k_array | The underlying value does not have the requested type.
|
k_need_element_type_k_binary | The underlying value does not have the requested type.
|
k_need_element_type_k_undefined | The underlying value does not have the requested type.
|
k_need_element_type_k_oid | The underlying value does not have the requested type.
|
k_need_element_type_k_bool | The underlying value does not have the requested type.
|
k_need_element_type_k_date | The underlying value does not have the requested type.
|
k_need_element_type_k_null | The underlying value does not have the requested type.
|
k_need_element_type_k_regex | The underlying value does not have the requested type.
|
k_need_element_type_k_dbpointer | The underlying value does not have the requested type.
|
k_need_element_type_k_code | The underlying value does not have the requested type.
|
k_need_element_type_k_symbol | The underlying value does not have the requested type.
|
k_need_element_type_k_codewscope | The underlying value does not have the requested type.
|
k_need_element_type_k_int32 | The underlying value does not have the requested type.
|
k_need_element_type_k_timestamp | The underlying value does not have the requested type.
|
k_need_element_type_k_int64 | The underlying value does not have the requested type.
|
k_need_element_type_k_decimal128 | The underlying value does not have the requested type.
|
k_need_element_type_k_maxkey | The underlying value does not have the requested type.
|
k_need_element_type_k_minkey | The underlying value does not have the requested type.
|
k_need_key | No key was provided when one was needed.
|
k_no_array_to_close | An array was closed while no array was open.
|
k_no_document_to_close | A document was closed while no document was open.
|
k_unmatched_key_in_builder | Attempted to view or extract a document when a key was still awaiting a matching value.
|
k_unset_element | An empty element was accessed.
|
k_json_parse_failure | A JSON document failed to parse.
|
k_invalid_oid | An Object ID string failed to parse.
|
k_failed_converting_bson_to_json | This type is unused and deprecated.
|
k_invalid_decimal128 | A Decimal128 string failed to parse.
|
k_internal_error | BSON data could not be processed, but no specific reason was available.
|
k_cannot_begin_appending_array | Failed to begin appending an array to a BSON document or array.
|
k_cannot_begin_appending_document | Failed to begin appending a BSON document to a BSON document or array.
|
k_cannot_end_appending_array | Failed to complete appending an array to a BSON document or array.
|
k_cannot_end_appending_document | Failed to complete appending a BSON document to a BSON document or array.
|
k_invalid_binary_subtype | Invalid binary subtype.
|
k_invalid_bson_type_id | Invalid type.
|
k_cannot_append_double | Failed to append a value of the given type.
|
k_cannot_append_string | Failed to append a value of the given type.
|
k_cannot_append_document | Failed to append a value of the given type.
|
k_cannot_append_array | Failed to append a value of the given type.
|
k_cannot_append_binary | Failed to append a value of the given type.
|
k_cannot_append_undefined | Failed to append a value of the given type.
|
k_cannot_append_oid | Failed to append a value of the given type.
|
k_cannot_append_bool | Failed to append a value of the given type.
|
k_cannot_append_date | Failed to append a value of the given type.
|
k_cannot_append_null | Failed to append a value of the given type.
|
k_cannot_append_regex | Failed to append a value of the given type.
|
k_cannot_append_dbpointer | Failed to append a value of the given type.
|
k_cannot_append_code | Failed to append a value of the given type.
|
k_cannot_append_symbol | Failed to append a value of the given type.
|
k_cannot_append_codewscope | Failed to append a value of the given type.
|
k_cannot_append_int32 | Failed to append a value of the given type.
|
k_cannot_append_timestamp | Failed to append a value of the given type.
|
k_cannot_append_int64 | Failed to append a value of the given type.
|
k_cannot_append_decimal128 | Failed to append a value of the given type.
|
k_cannot_append_maxkey | Failed to append a value of the given type.
|
k_cannot_append_minkey | Failed to append a value of the given type.
|