Function set_bson_err_handler

Source
pub unsafe extern "C" fn set_bson_err_handler(
    func: bson_err_handler,
) -> bson_err_handler
Expand description

Set a function for error handling.

@param func a bson_err_handler function.

@return the old error handling function, or NULL.