Created
August 3, 2015 19:37
-
-
Save mosfet1kg/b9c959eed03b603cd6be to your computer and use it in GitHub Desktop.
error.js
This file contains hidden or 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
var util = require('util'); | |
var err = new Error('Error occurred!!'); | |
var temp = 123; | |
console.log( util.isError(err)); | |
console.log(err.message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment