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

Recommend rejecting promises by throwing an exception #114

Merged
merged 1 commit into from
Apr 25, 2018

Conversation

jsor
Copy link
Member

@jsor jsor commented Apr 25, 2018

After #113 is in, we should recommend rejecting a promise by simply throwing an exception instead of using $reject().

@jsor jsor added this to the v2.6.0 milestone Apr 25, 2018
@jsor jsor merged commit b0242fc into reactphp:2.x Apr 25, 2018
@jsor jsor deleted the recommend-throwing-over-reject branch April 25, 2018 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants