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

NAME

6       bson_set_error - bson_set_error()
7

SYNOPSIS

9          void
10          bson_set_error (
11             bson_error_t *error, uint32_t domain, uint32_t code, const char *format, ...)
12             BSON_GNUC_PRINTF (4, 5);
13

PARAMETERS

15error: A bson_error_t.
16
17domain: A uint32_t.
18
19code: A uint32_t.
20
21format: A printf() style format string.
22

DESCRIPTION

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

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.23.1                           Oct 20, 2022                BSON_SET_ERROR(3)
Impressum