Error Message for Bucket Hibernation

Environment

None

Release Notes Description

None

Confluence content

mentioned on

Activity

Show:

Sergey Auseyau October 11, 2022 at 7:28 AM

Sergey Auseyau October 4, 2022 at 6:25 AM

At the moment C++ error codes don't have sophisticated explanations associated with them. But we can start filling this gap from this particular error code.

Each error code is associated with error category that is in charge of generating human-readable message for the code. For instance

https://github.com/couchbaselabs/couchbase-cxx-client/blob/78e3e889f01ee3f082a05d031d9f9ec7c2004195/core/impl/common_error_category.cxx#L45-L46

case errc::common::authentication_failure: return "authentication_failure (6)";

I'd propose update it to something like

case errc::common::authentication_failure: return "authentication_failure (6). SOME EXPLANATION";

I also opened related ticket to update other errors using strings from the rest of the SDKs (excluding Node.js, Ruby, PHP and Python): https://couchbasecloud.atlassian.net/browse/CXXCBC-236#icft=CXXCBC-236.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Sprint

Story Points

Fix versions

Labels

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created October 3, 2022 at 11:21 PM
Updated October 12, 2022 at 10:51 AM
Resolved October 12, 2022 at 10:51 AM
Instabug