MongoDBErrorDomain Enumeration
On this page
Specifies the error domain of libmongoc, the MongoDB C driver, in which an error occurred (
MongoDBException.Domain). Errors returned by the server come in the domain of the operation that failed, such as Query, Command, Insert, or WriteConcern.
Syntax
Members
| Member | Description |
| Bson | A BSON error. |
| Client | A client error, such as a failed authentication or an invalid connection string. |
| ClientSideEncryption | A client-side field level encryption error. |
| Collection | A collection error. |
| Command | An error of a database command. |
| Cursor | A cursor error. |
| GridFS | A GridFS error. |
| Insert | An error of an insert. |
| Matcher | A matcher error. |
| Namespace | An invalid database or collection name. |
| None | An error of the provider itself, not of libmongoc. |
| Pool | A connection pool error. |
| Protocol | A wire protocol error. |
| Query | An error of a query. |
| Sasl | A SASL authentication error. |
| Scram | A SCRAM authentication error. |
| Server | An error returned by the server (libmongoc error API version 2). |
| ServerSelection | No suitable server was found. |
| Stream | A network stream error: the connection broke or could not be established. |
| Transaction | A transaction error. |
| WriteConcern | A write concern error. |
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
Devart.Data.MongoDB.MongoDBErrorDomain
See Also