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.