Skip to content

Add helper method for serializing ctx into columnar error msg#632

Merged
Matt-Woz merged 1 commit intocouchbase:mainfrom
DemetrisChr:columnar-message-with-ctx
Jul 16, 2024
Merged

Add helper method for serializing ctx into columnar error msg#632
Matt-Woz merged 1 commit intocouchbase:mainfrom
DemetrisChr:columnar-message-with-ctx

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

Changes

  • The error context is now represented by a tao::json::value instead of std::map<std::string, tao::json::value>
  • Add message_with_ctx() helper for getting the error message that includes the serialized error context, as that's the only way the error context will be exposed from the wrappers.

@Matt-Woz Matt-Woz merged commit 34a220d into couchbase:main Jul 16, 2024
@DemetrisChr DemetrisChr deleted the columnar-message-with-ctx branch July 16, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants