UNPKG

yunlongzha_try_nodejs

Version:

try it

9 lines (8 loc) 210 B
'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 }