Skip to content

[PROTON] Centralize and categorize exception handling#10173

Merged
Jokeren merged 6 commits into
mainfrom
keren/proton-throw
May 13, 2026
Merged

[PROTON] Centralize and categorize exception handling#10173
Jokeren merged 6 commits into
mainfrom
keren/proton-throw

Conversation

@Jokeren
Copy link
Copy Markdown
Contributor

@Jokeren Jokeren commented Apr 29, 2026

No description provided.

Jokeren added 3 commits April 29, 2026 15:49
- Changed exception types from std::runtime_error to more specific exceptions such as std::out_of_range, std::invalid_argument, and std::logic_error across multiple files for better error categorization.
- Introduced utility functions in Utility/Errors.h to create prefixed error messages for consistency and clarity.
- Updated various throw statements to utilize the new error handling functions, improving readability and maintainability of the code.
- Ensured that all error messages are prefixed with "[PROTON]" for easier identification in logs.
@Jokeren Jokeren changed the title [proton] Centralize and categorize exception handling [PROTON] Centralize and categorize exception handling Apr 29, 2026
@Jokeren
Copy link
Copy Markdown
Contributor Author

Jokeren commented Apr 29, 2026

@CRobeck no major functionality updates. Easy to review

@Jokeren
Copy link
Copy Markdown
Contributor Author

Jokeren commented May 1, 2026

Hi @fywkevin can you help stamp the PR?

@Jokeren Jokeren merged commit 4ee0dde into main May 13, 2026
9 checks passed
@Jokeren Jokeren deleted the keren/proton-throw branch May 13, 2026 15:05
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