Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/libmongoc/src/mongoc/mongoc-error.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ typedef enum {
MONGOC_ERROR_SERVER, /* Error API Version 2 only */
MONGOC_ERROR_TRANSACTION,
MONGOC_ERROR_CLIENT_SIDE_ENCRYPTION, /* An error coming from libmongocrypt */
MONGOC_ERROR_POOL
MONGOC_ERROR_POOL,
MONGOC_ERROR_AZURE,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the errors.rst with the new domain and value.

} mongoc_error_domain_t;


Expand Down Expand Up @@ -134,6 +135,10 @@ typedef enum {
MONGOC_ERROR_POOL_API_TOO_LATE,

MONGOC_ERROR_CLIENT_INVALID_LOAD_BALANCER,

// Azure errors
MONGOC_ERROR_AZURE_HTTP,
MONGOC_ERROR_AZURE_BAD_JSON,
} mongoc_error_code_t;

MONGOC_EXPORT (bool)
Expand Down