Created
February 6, 2010 05:54
-
-
Save mnutt/296575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.mixin(GLOBAL, require("sys")); | |
var posix = require("posix"); | |
posix.stat("/etc/hsdfsd").addCallback(function(stat) { | |
puts(stat); | |
}).addErrback(function(err) { | |
puts(err); | |
}).wait(); | |
// Error: No such file or directory | |
// Error: No such file or directory | |
// at [object Object].wait (node.js:319:13) | |
// at Object.<anonymous> (/Users/mnutt/code/node_svc/file_test.js:8:4) | |
// at [object Object].<anonymous> (node.js:928:23) | |
// at [object Object].emitSuccess (node.js:240:15) | |
// at [object Object].<anonymous> (node.js:653:21) | |
// at [object Object].emitSuccess (node.js:240:15) | |
// at node.js:510:29 | |
// at node.js:985:9 | |
// at node.js:989:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment