bson_set_error(3)

bson_set_error3

Usage

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

Parameters

•

error: A bson_error_t.

•

domain: A uint32_t.

•

code: A uint32_t.

•

format: A printf() style format string.

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.