logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

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

Parameters

error: A bson_error_t.

       • domain: A uint32_t.

       • code: A uint32_t.

       • format: A printf() style format string.

Synopsis

          void
          bson_set_error (
             bson_error_t *error, uint32_t domain, uint32_t code, const char *format, ...);

See Also