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/error): Clarify JsError message fields #14269

Merged
merged 4 commits into from
Apr 13, 2022

Conversation

nayeemrmn
Copy link
Collaborator

@nayeemrmn nayeemrmn commented Apr 13, 2022

Closes #13212. Also adds message and name fields to make Deno.core.destructureError() nicer to use.

@bartlomieju
Copy link
Member

Very nice, I hit this problem again in #14262, this should make it more manageable

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @nayeemrmn

@bartlomieju bartlomieju merged commit 7d50a5f into denoland:main Apr 13, 2022
@nayeemrmn nayeemrmn deleted the js-error-fields branch April 13, 2022 14:45
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.

Remove "uncaught" when creating JsError in core
2 participants