Skip to content

core: improve error handling in decoder & transcoder#339

Merged
Ostrzyciel merged 3 commits intomainfrom
error-handling
Apr 15, 2025
Merged

core: improve error handling in decoder & transcoder#339
Ostrzyciel merged 3 commits intomainfrom
error-handling

Conversation

@Ostrzyciel
Copy link
Member

@Ostrzyciel Ostrzyciel commented Apr 15, 2025

Instead of throwing random NPEs and arrayoutofbounds, throw something nicer. This covers the some of the most common types of exceptions, should be enough.

This should address the complaints made here:

@Ostrzyciel Ostrzyciel requested a review from nk2IsHere April 15, 2025 17:06
@Ostrzyciel Ostrzyciel requested a review from nk2IsHere April 15, 2025 17:14
@Ostrzyciel Ostrzyciel enabled auto-merge (squash) April 15, 2025 17:16
@Ostrzyciel Ostrzyciel merged commit d90f502 into main Apr 15, 2025
6 checks passed
@Ostrzyciel Ostrzyciel deleted the error-handling branch April 15, 2025 17:16
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