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

Handle stack on custom exception #140

Open
francisbouvier opened this issue Nov 23, 2023 · 0 comments
Open

Handle stack on custom exception #140

francisbouvier opened this issue Nov 23, 2023 · 0 comments

Comments

@francisbouvier
Copy link
Member

Currently custom exceptions do not have a stack trace.

Besides, Chrome adds a non-standard stack.

And the message thrown is not the same as the toString() method. Example DOMException: Node.appendChild: The new child is an ancestor of the parent instead of HierarchyRequestError: Node.appendChild: The new child is an ancestor of the parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant