dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBErrorDomain Enumeration

On this page
    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
    'Declaration
     
    Public Enum MongoDBErrorDomain 
       Inherits System.Enum
       Implements System.IComparable, System.IConvertible, System.IFormattable 
    Members
    MemberDescription
    BsonA BSON error.
    ClientA client error, such as a failed authentication or an invalid connection string.
    ClientSideEncryptionA client-side field level encryption error.
    CollectionA collection error.
    CommandAn error of a database command.
    CursorA cursor error.
    GridFSA GridFS error.
    InsertAn error of an insert.
    MatcherA matcher error.
    NamespaceAn invalid database or collection name.
    NoneAn error of the provider itself, not of libmongoc.
    PoolA connection pool error.
    ProtocolA wire protocol error.
    QueryAn error of a query.
    SaslA SASL authentication error.
    ScramA SCRAM authentication error.
    ServerAn error returned by the server (libmongoc error API version 2).
    ServerSelectionNo suitable server was found.
    StreamA network stream error: the connection broke or could not be established.
    TransactionA transaction error.
    WriteConcernA write concern error.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.MongoDB.MongoDBErrorDomain

    See Also