Uh oh!
There was an error while loading. Please reload this page.
dns, errors: Migrate to use internal/errors - #14212
Conversation
ebfd843 to
be61d5dCompareThere was a problem hiding this comment.
Perhaps ERR_DNS_SET_SERVERS_FAILED?
jasnell
left a comment
There was a problem hiding this comment.
Very close! thank for doing this. Left a comment I'd like to see addressed.
1ae02d3 to
56d8131CompareXadillaX
commented
Jul 22, 2017
One failure in CI looks unrelated. |
There was a problem hiding this comment.
new indentation rule requires aligning to the call (
#14403
There was a problem hiding this comment.
probably better (err, servers) => `c-ares failed to set servers: "${err}" [${servers}]`
There was a problem hiding this comment.
New feature of expectsError can be used without assert.throws:
common.expectsError(dns.resolve('www.google.com',val),{code: 'ERR_INVALID_OPT_VALUE',type: TypeError,message: `The value "${val}" is invalid for option "rrtype"`});There was a problem hiding this comment.
Used when `c-ares` failed to set the DNS servers.
refack
commented
Jul 24, 2017
56d8131 to
0653452Comparestarkwang
commented
Jul 24, 2017
Pushed commit to address comments. |
refack
commented
Jul 24, 2017
@starkwang thank you. |
refack
commented
Jul 24, 2017
Landed in 9cb390d |
Migrate dns errors to use internal/errors.
Ref: #11273
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
dns, errors