Skip to content
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

Change InternalException to InternalError #801

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

twyatt
Copy link
Member

@twyatt twyatt commented Nov 22, 2024

When an unrecoverable internal failure occurs, a sub-class of Error is more appropriate:

indicates serious problems that a reasonable application should not try to catch

This is inline with kotlinx.coroutines' approach, whereas CoroutinesInternalError is a sub-class of Error and also asks their library consumers to report the issue.

Closes #789

@twyatt twyatt added the major Changes that should bump the MAJOR version number label Nov 22, 2024
@twyatt twyatt requested a review from a team as a code owner November 22, 2024 18:14
@twyatt twyatt added this to the 0.35.0 milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Changes that should bump the MAJOR version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feedback 0.35.0-RC]: Scanner doesn't show in its description that the InternalException can be thrown
1 participant