Skip to content

Instantly share code, notes, and snippets.

@rlidwka
Created February 2, 2012 02:29
Show Gist options
  • Save rlidwka/1720996 to your computer and use it in GitHub Desktop.
Save rlidwka/1720996 to your computer and use it in GitHub Desktop.
squogre:/tmp:% cat test.js
(function ThisIsFunctionName() {throw new Error()})()
squogre:/tmp:% node test.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error
at ThisIsFunctionName (/tmp/test.js:1:101)
at Object.<anonymous> (/tmp/test.js:1:113)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment