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

15       · error: A bson_error_t.
16
17       · domain: A uint32_t.
18
19       · code: A uint32_t.
20
21       · format: 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.14.0                           Feb 22, 2019                BSON_SET_ERROR(3)
Impressum