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

feat: use async errors #137

Closed
wants to merge 6 commits into from
Closed

feat: use async errors #137

wants to merge 6 commits into from

Conversation

raed667
Copy link
Collaborator

@raed667 raed667 commented Apr 24, 2023

To test locally, run yarn playground:start and then visit http://localhost:1234/error

image

setResult(response);
setStatus('idle');
})
.catch(throwAsyncError);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure this is a breaking change, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed it is. This draft-PR is more as something we can link to in this error management discussion, rather than something I want to open right away.

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