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

Throw ReaderCancelledException on reader cancelled #778

Merged

Conversation

pathartl
Copy link
Contributor

I needed a way to gracefully handle a cancellation. It would have been much easier to catch a specific type of exception instead of relying on the message of InvalidOperationException.

So, here you go!

@adamhathcock adamhathcock merged commit 7d9c875 into adamhathcock:master Nov 13, 2023
0 of 2 checks passed
@adamhathcock
Copy link
Owner

Thank you!

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.

None yet

2 participants