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).
|For Gerrit Dashboard: GOCBC-215|
|80617,8||GOCBC-215: Refactor errors objects to support extra information.||v7||gocbcore||Status: MERGED||+2||+1|
|80965,5||GOCBC-215: Refactor errors objects to support extra information.||master||gocb||Status: MERGED||+2||+1|