---
name: "mongoc_reply_flags_t"
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_reply_flags_t"
---

# mongoc\_reply\_flags\_t(3)

Flags from server replies

## SYNOPSIS

```
typedef enum {
   MONGOC_REPLY_NONE = 0,
   MONGOC_REPLY_CURSOR_NOT_FOUND = 1 << 0,
   MONGOC_REPLY_QUERY_FAILURE = 1 << 1,
   MONGOC_REPLY_SHARD_CONFIG_STALE = 1 << 2,
   MONGOC_REPLY_AWAIT_CAPABLE = 1 << 3,
} mongoc_reply_flags_t;
```

## DESCRIPTION

These flags correspond to the wire protocol. They may be bitwise or'd together.

## FLAG VALUES

| | |
| --- | --- |
| MONGOC\_REPLY\_NONE | No flags set. |
| MONGOC\_REPLY\_CURSOR\_NOT\_FOUND | No matching cursor was found on the server. |
| MONGOC\_REPLY\_QUERY\_FAILURE | The query failed or was invalid. Error document has been provided. |
| MONGOC\_REPLY\_SHARD\_CONFIG\_STALE | Shard config is stale. |
| MONGOC\_REPLY\_AWAIT\_CAPABLE | If the returned cursor is capable of MONGOC\_QUERY\_AWAIT\_DATA. |

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
