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

refactor(core): rename pending_promise_exception to pending_promise_rejection #17441

Merged

Conversation

bartlomieju
Copy link
Member

These are technically rejections - a rejection can then raise an exception. Prompted by discussion with @andreubotella

@bartlomieju bartlomieju enabled auto-merge (squash) January 15, 2023 22:09
@bartlomieju bartlomieju enabled auto-merge (squash) January 15, 2023 22:10
@andreubotella
Copy link
Contributor

The JsRuntime::check_promise_exception method also needs to be renamed.

@bartlomieju bartlomieju enabled auto-merge (squash) January 16, 2023 14:58
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 40134ff into denoland:main Jan 16, 2023
bartlomieju added a commit that referenced this pull request Jan 16, 2023
…ejection (#17441)

These are technically rejections - a rejection can then raise an
exception.
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

3 participants