You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sample code for util.getSystemErrorMessage is shown below.
fs.access('file/that/does/not/exist',(err)=>{constname=util.getSystemErrorMessage(err.errno);console.error(name);// No such file or directory});
The usage and result of this example is correct. But the name actually points to the message. The temporary variable in this example has the same name as util.getSystemErrorName. Therefore, changing name to message would clarify the documentation.
If this suggestion is OK, I will create a PullRequest.