bson_vector_error_code_t - Man Page

BSON Error codes for BSON Binary Vector subtype <> operations that could fail in multiple ways.

Synopsis

#define BSON_ERROR_VECTOR 4

typedef enum {
  BSON_VECTOR_ERROR_ARRAY_ELEMENT_TYPE = 1,
  BSON_VECTOR_ERROR_ARRAY_ELEMENT_VALUE = 2,
  BSON_VECTOR_ERROR_ARRAY_KEY = 3,
  BSON_VECTOR_ERROR_MAX_SIZE = 4,
} bson_vector_error_code_t;

Description

The error code values in bson_vector_error_code_t apply to bson_error_t <> values with a category of BSON_ERROR_CATEGORY and a domain of BSON_ERROR_VECTOR.

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libbson