Skip to content

errors: use `ErrorPrototypeToString` from `primordials` object

This ensures that the prepareStackTrace no override fallback path doesn’t get broken by Error.prototype.toString.call not being Function.prototype.call.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading