Class MongoException
Represents a MongoDB exception.
[Serializable]
public class MongoException : Exception, ISerializable
- Inheritance
-
MongoException
- Implements
- Derived
- Inherited Members
Constructors
- MongoException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoException class.
- MongoException(string)
Initializes a new instance of the MongoException class.
- MongoException(string, Exception)
Initializes a new instance of the MongoException class.
Properties
- ErrorLabels
Gets the error labels.
Methods
- AddErrorLabel(string)
Adds an error label.
- HasErrorLabel(string)
Determines whether the exception has some error label.
- RemoveErrorLabel(string)
Removes the error label.