Open
Description
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
.