Manpage logo

bson_errors -

DESCRIPTION  AUTHOR  COPYRIGHT 

DESCRIPTION

Many libbson functions report errors by returning NULL or −1 and filling out a bson_error_t structure with an error domain, error code, and message.

error.domain names the subsystem that generated the error.

error.code is a domain−specific error type.

error.message describes the error.

Some error codes overlap with others; always check both the domain and code to determine the type of error.

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc


Updated 2026-06-01 - jenkler.se | uex.se