Description
The current kv error objects are simply a wrapper around a singular code. This does not allow us to store additional information such as KV Error Map messages or Enhanced Error Message contexts. The SDK should be refactored such that error objects can hold additional contextual information. Note that in the first variant of this implementation, the error objects should remain static and a later commit can be introduced to optional enable dynamic errors (this is for backwards compatibility reasons).
Build 5.0.0-3507 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message:
GOCBC-215: Refactor errors objects to support extra information.https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d