Skip to content

Recommend rejecting promises by throwing an exception - #114

Merged
jsor merged 1 commit into
reactphp:2.xfrom
jsor-labs:recommend-throwing-over-reject
Apr 25, 2018
Merged

Recommend rejecting promises by throwing an exception#114
jsor merged 1 commit into
reactphp:2.xfrom
jsor-labs:recommend-throwing-over-reject

Conversation

@jsor

@jsorjsor commented Apr 25, 2018

Copy link
Copy Markdown
Member

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

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jsor@WyriHaximus@clue