bson_set_error - Man Page

Synopsis

void
bson_set_error (
   bson_error_t *error, uint32_t domain, uint32_t code, const char *format, ...)
   BSON_GNUC_PRINTF (4, 5);

Parameters

Description

This is a helper function to set the parameters of a bson_error_t. It handles the case where error is NULL by doing nothing.

Author

MongoDB, Inc

Info

Sep 19, 2024 1.28.0 libbson