|
@ -420,7 +420,7 @@ function errnoException(errorno, syscall) { |
|
|
// Once all of Node is using this function the ErrnoException from
|
|
|
// Once all of Node is using this function the ErrnoException from
|
|
|
// src/node.cc should be removed.
|
|
|
// src/node.cc should be removed.
|
|
|
var e = new Error(syscall + ' ' + errorno); |
|
|
var e = new Error(syscall + ' ' + errorno); |
|
|
e.errno = errorno; |
|
|
e.errno = e.code = errorno; |
|
|
e.syscall = syscall; |
|
|
e.syscall = syscall; |
|
|
return e; |
|
|
return e; |
|
|
} |
|
|
} |
|
|