Skip to content

[ntuple] Improve error reporting consistency #18672

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

Merged
merged 2 commits into from
May 12, 2025

Conversation

hahnjo
Copy link
Member

@hahnjo hahnjo commented May 9, 2025

RException for field misuse, R__ASSERT(false) for unhandled column types.

hahnjo added 2 commits May 9, 2025 11:55
This seems to be consistent with other misuses of fields and their
constructors, and also matches RCardinalityField.
R__ASSERT is also included in Release builds, and this seems more
consistent with other places for unhandled enum values (for example
RNTupleReader::PrintInfo or VisitCardinalityField).
@hahnjo hahnjo requested review from silverweed and enirolf May 9, 2025 10:02
@hahnjo hahnjo self-assigned this May 9, 2025
@hahnjo hahnjo requested review from jblomer and martamaja10 as code owners May 9, 2025 10:02
@hahnjo hahnjo requested a review from vepadulano as a code owner May 9, 2025 10:02
Copy link
Contributor

@enirolf enirolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

Copy link

github-actions bot commented May 9, 2025

Test Results

    19 files      19 suites   4d 2h 18m 57s ⏱️
 2 739 tests  2 738 ✅ 0 💤 1 ❌
50 563 runs  50 562 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 42fa14f.

@hahnjo hahnjo merged commit 84d9e30 into root-project:master May 12, 2025
21 of 23 checks passed
@hahnjo hahnjo deleted the ntuple-error branch May 12, 2025 06:42
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