Skip to content

Add error sinks #456

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

Closed
wants to merge 1 commit into from
Closed

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Dec 4, 2024

WIP draft

I've loosely sketched out what function-local error sinks would look like. However after sketching them out I'm not totally sure what the point was. Is it just ergonomics? I don't think it makes much sense to introduce an ergonomics feature at this point, and besides using error scopes is really not that bad - and wrt threading, it's easy to see that a straight pushErrorScope/someCall/popErrorScope sequence is all on the same thread.

cc @cwfitzgerald

Issue: #211

@cwfitzgerald
Copy link
Collaborator

cwfitzgerald commented Dec 4, 2024

Hum - I had the thought that maybe this should actually be a pnext thing?

Adding an argument feels a little clunky.

Idle thoughts

@lokokung
Copy link
Collaborator

lokokung commented Dec 4, 2024

Thoughts on moving this past the v1? If it's not too urgent, maybe we can iterate on it as necessary in the future?

@kainino0x
Copy link
Collaborator Author

Closing per #211 (comment)

@kainino0x kainino0x closed this Dec 9, 2024
@kainino0x kainino0x deleted the error-sinks branch December 9, 2024 22:25
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.

3 participants