blob: ff94be9857637913474196ab8e2adb4365efa5a0 (
plain)
1
2
3
4
5
6
7
8
|
'use strict'
module.exports = function (dir, er) {
if (!er) return
var accessEr = new Error("EACCES, access '" + dir + "'", -13)
accessEr.code = 'EACCES'
accessEr.path = dir
return accessEr
}
|