errors: use `ErrorPrototypeToString` from `primordials` object
requested to merge github/fork/ExE-Boss/lib/internal/errors/use-primordials-error-prototype-tostring into master
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), orvcbuild test
(Windows) passes -
commit message follows commit guidelines