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

SignalError fixes, ContextHandler #25

Merged
merged 3 commits into from
Nov 29, 2023
Merged

SignalError fixes, ContextHandler #25

merged 3 commits into from
Nov 29, 2023

Conversation

peterbourgon
Copy link
Member

@peterbourgon peterbourgon commented Sep 19, 2023

This PR patches SignalError to be detectable via errors.As, and provides a better alternative ErrSignal that can be used with errors.Is. It also adds a ContextHandler as suggested in #24 , and bumps the version of Go to 1.20.

These changes should be backwards compatible, so I'll tag the merged version as v1.2.0.

@peterbourgon peterbourgon marked this pull request as ready for review September 20, 2023 02:42
@peterbourgon peterbourgon merged commit daf88ed into main Nov 29, 2023
3 checks passed
@mrueg
Copy link

mrueg commented Apr 1, 2024

@peterbourgon it looks like the tag hasn't been pushed to the repo. Do you still have plans for a new tag? Thanks!

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