access-error.js 202 B

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