UNPKG
yunlongzha_try_nodejs
Version:
latest (1.0.0)
1.0.0
try it
yunlongzha_try_nodejs
/
textsubmit
/
node_modules
/
npm
/
lib
/
install
/
access-error.js
9 lines
(8 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'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 }