We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could we modify toString so that it closely matches https://v8.dev/docs/stack-trace-api#appendix%3A-stack-trace-format instead of current format?
toString
Calling Error.prepareStackTrace(err, stackframes) does not give proper output.
Error.prepareStackTrace(err, stackframes)
The text was updated successfully, but these errors were encountered:
stack
Here is how Node prepares it:
https://github.com/nodejs/node/blob/b6bfc193788b1838bee73d584fe089e1104b9f88/src/node_errors.cc#L142-L175
Sorry, something went wrong.
This is fixed by #23. Thanks @niftylettuce!
No branches or pull requests
Could we modify
toString
so that it closely matches https://v8.dev/docs/stack-trace-api#appendix%3A-stack-trace-format instead of current format?Calling
Error.prepareStackTrace(err, stackframes)
does not give proper output.The text was updated successfully, but these errors were encountered: