[This is preliminary documentation and is subject to change.]
The CRUDWriteError type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | CRUDWriteError | Initializes a new instance of the CRUDWriteError class |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Indicates whether this instance and a specified object are equal. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Returns the hash code for this instance. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns the fully qualified type name of this instance. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | Code |
Mandatory field with integer format. Contains a numeric code corresponding to a certain type of error
|
![]() | Index |
WRITE ERROR ONLY, The index of the erroneous batch item relative to request batch order. Batch items indexes start with 0
|
![]() | Info |
Optional field, with a BSONObj format. This field contains structured information about an error that can be processed programmatically.
For example, if a request returns with a shard version error, we may report the proper shard version as a sub-field here.
For another example, if a write concern timeout occurred, the information previously reported on wtimeout would be reported here.
The format of this field depends on the code above
|
![]() | Message |
Mandatory field, containing a human-readable version of the error.
|
See Also