Just realized according to the spec the errors thrown from our WHATWG URL implementation should be ECMAScript error objects, but internal/errors.js provides errors subclassing those error classes, so does that mean our WHATWG URL implementation cannot be migrated to this new error system, or do we have a way to work around that?
refs: #11220
refs: #11273
cc @nodejs/url
Just realized according to the spec the errors thrown from our WHATWG URL implementation should be ECMAScript error objects, but
internal/errors.jsprovides errors subclassing those error classes, so does that mean our WHATWG URL implementation cannot be migrated to this new error system, or do we have a way to work around that?refs: #11220
refs: #11273
cc @nodejs/url