Skip to content

Throw dedicated exception instead of RuntimeException - #151

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:replace-throw-RuntimeException
Aug 13, 2026
Merged

Throw dedicated exception instead of RuntimeException#151
andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:replace-throw-RuntimeException

Conversation

@Marcono1234

Copy link
Copy Markdown
Contributor

Both of these cases were reachable during fuzzing; see related #146 (comment).

I hope the chosen exception types are reasonable.

@andreaTP andreaTP left a comment

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.

LGTM thanks!

@andreaTP
andreaTP merged commit 6d0b226 into bytecodealliance:main Aug 13, 2026
27 checks passed
@Marcono1234
Marcono1234 deleted the replace-throw-RuntimeException branch August 13, 2026 15:39
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