errors, console: migrate to use internal/errors.js
Migrate lib/console.js to use internal/errors.js.
Refs: https://github.com/nodejs/node/issues/11273
cc @jasnell
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
errors, console