"Success" property is missing in IResult interface - .net client 3.0.5

I am migrating couchbase .net client from 2.7.20 to 3.0.5. The object used to verify the upsert async is seemed to be removed from IResult object ( the Success property is missing ). How we ensure whether the upsert is a success or not in 3.0.5 library?

1 Like


SDK 3.x throws exceptions on any errors, so long as you receive no exceptions it was successful. There are also special exception types you can trap to deal with specific error conditions, such as the DocumentNotFoundException.