bson_errors - Handling Errors

NAME  DESCRIPTION  AUTHOR  COPYRIGHT 

NAME

bson_errors − Handling Errors

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 2024-01-29 - jenkler.se | uex.se