Skip to content

Harmonize exceptions handling#19

Merged
Meklo merged 35 commits intomainfrom
harmonize_exceptions_handling
Dec 2, 2025
Merged

Harmonize exceptions handling#19
Meklo merged 35 commits intomainfrom
harmonize_exceptions_handling

Conversation

@Meklo
Copy link
Copy Markdown
Contributor

@Meklo Meklo commented Nov 13, 2025

PR Summary

Adopts standardized error handling with ComputationExceptionHandler and BaseExceptionHandler, adds enum for business errors which can be reused in all computation services.
Replace business exception with technical ones when it's appropriate


@BeforeEach
void setUp() {
handler = new TestRestResponseEntityExceptionHandler();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why not to use ComputationExceptionHandler directly ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I based it on what was done in filter server but I guess it's of no use here

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 2, 2025

@Meklo Meklo merged commit eed72b9 into main Dec 2, 2025
4 checks passed
@TheMaskedTurtle TheMaskedTurtle deleted the harmonize_exceptions_handling branch December 2, 2025 16:06
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