1BSON_SET_ERROR(3)                   libbson                  BSON_SET_ERROR(3)
2
3
4

SYNOPSIS

6          void
7          bson_set_error (
8             bson_error_t *error, uint32_t domain, uint32_t code, const char *format, ...)
9             BSON_GNUC_PRINTF (4, 5);
10

PARAMETERS

12error: A bson_error_t.
13
14domain: A uint32_t.
15
16code: A uint32_t.
17
18format: A printf() style format string.
19

DESCRIPTION

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

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.25.1                           Nov 08, 2023                BSON_SET_ERROR(3)
Impressum