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.
|For Gerrit Dashboard: NCBC-1169|
|66398,8||NCBC-1169: Make exception behavior more like Java SDK||master||couchbase-net-client||Status: MERGED||+2||+1|