Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove class Status from exception handler. #4393

Merged
merged 4 commits into from
Oct 6, 2023
Merged

Conversation

eric-hughes-tiledb
Copy link
Contributor

@eric-hughes-tiledb eric-hughes-tiledb commented Oct 3, 2023

Stop converting exceptions to class Status in the exception handler. Replace it with direct handling of the exception. The new handler captures messages in std::nested_exception.

Rename CAPIStatusException to CAPIException. Remove no-longer-used code. Updated CMakeLists.txt for the exception wrapper tests.

[sc-33024]


TYPE: IMPROVEMENT
DESC: Logs for nested exceptions now incorporate all messages.

@KiterLuc KiterLuc requested a review from robertbindar October 3, 2023 14:28
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #33024: Nested exceptions are hidden from C API error messages.

…erted old visitor base class into a concept.
@eric-hughes-tiledb eric-hughes-tiledb force-pushed the eh/nested_exception_action branch from 6395842 to 16e9cdb Compare October 4, 2023 19:54
@KiterLuc KiterLuc merged commit b4416a3 into dev Oct 6, 2023
52 checks passed
@KiterLuc KiterLuc deleted the eh/nested_exception_action branch October 6, 2023 08:26
ihnorton pushed a commit that referenced this pull request Oct 13, 2023
* Switch from inheritance to templates for the error tree visitor. Converted old visitor base class into a concept.

* Adjusted C API build to take into account that the exception handler is no longer header-only.

* More build adjustments

* Attempt to remove a duplicate symbol linkage causing CI fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants