Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.3.4
-
None
-
None
Description
This ticket makes the .NET sdk return/throw similarly named exceptions for various failure states:
- DocumentAlreadyExistsException - an attempt to insert a doc that exists
- DocumentDoesNotExistException - an attempt to replace a doc that does not exist
- TemporaryLockFailureException - an attempt to retrieve a locked doc
- CasMismatchException - a doc was modified resulting in a CAS failure
Previously, the IOperationResult.Exception field was null on these cases, however the Status field indicated the failure.