Skip to content

CXXCBC-542: Richer error information from columnar core#626

Merged
DemetrisChr merged 4 commits intocouchbase:mainfrom
DemetrisChr:CXXCBC-542-error
Jul 11, 2024
Merged

CXXCBC-542: Richer error information from columnar core#626
DemetrisChr merged 4 commits intocouchbase:mainfrom
DemetrisChr:CXXCBC-542-error

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

Motivation

The Error Handling columnar RFC requires columnar-specific errors, as well as returning an error context & error properties for some error types.

Changes

  • Add columnar error codes
  • Add a core::columnar::error struct used to return errors from columnar operations, includes an error context represented as a JSON object & error properties that are currently only used alongside the query_error error code.
  • Hide classic core error codes that have columnar equivalents (Currently just ambigous/unambiguous timeouts).
  • Parse the error information from the query response body.

Results

All tests pass

@DemetrisChr DemetrisChr merged commit 9324cef into couchbase:main Jul 11, 2024
@DemetrisChr DemetrisChr deleted the CXXCBC-542-error branch July 11, 2024 22:15
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