mongoc_apm_command_failed_get_error()

Synopsis

void
mongoc_apm_command_failed_get_error (const mongoc_apm_command_failed_t *event,
                                     bson_error_t                      *error);

Copies this event's error info.

See Introduction to Application Performance Monitoring.

Parameters

event

A mongoc_apm_command_failed_t.

error

A pointer to a bson_error_t that will be updated with the error's domain, code, and message.