MONGOC_APM_CO...ILED_GET_ERROR(3)

✨ MONGOC_APM_COMMAND_FAILED_GET_ERROR(3) ✨

okay so bestie, this one lives in the libmongoc manual and it's literally the tiny little helper you call when a command flopped and you wanna know why. It's giving "tell me the tea" energy πŸ’…


🌸 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. that's it, that's the whole job 🫢


πŸŽ€ PARAMETERS πŸŽ€

  • event β€” a mongoc_apm_command_failed_t. it's the failed-command event you got handed, the one with the sad story in it 😭
  • error β€” a bson_error_t that's gonna receive the event's error info. you pass it in, it gets filled up. no cap ✨

πŸ‘€ SEE ALSO

  • Introduction to Application Performance Monitoring β€” go read it, iykyk πŸ¦‹

πŸ’œ AUTHOR

MongoDB, Inc β€” yeah, the whole squad πŸ‘‘

2009-present, MongoDB, Inc. β€” iconic, honestly. long-running main character energy ⭐


<div align="center">

that's the whole page, bestie!! short and sweet fr fr πŸ’–

version 2.5.6, dated Oct 09, 2026 β€” mwah, slay, periodt πŸŽ€πŸ¦‹πŸŒΈ

</div>

πŸ“¦ where this page comes from