---
name: "mongoc_apm_command_failed_get_error"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_apm_command_failed_get_error"
---

# mongoc\_apm\_command\_failed\_get\_error(3)

## 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.

## PARAMETERS

- •

  **event**: A *mongoc\_apm\_command\_failed\_t*.

- •

  **error**: A *bson\_error\_t* to receive the event's error info.

**SEE ALSO:**

```
Introduction to Application Performance Monitoring
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
