ä»ã¾ã§ããç¨åº¦ Node.js ã使ã£ããã¨ãããæ¹ã¯ã以ä¸ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãï¼åº¦ãï¼åº¦ç®ã«ãããã¨ãããã®ã§ã¯ãªãã§ããããã node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ããã¯ä»¥åã®è¨äº Node.js ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®è¬ ã§ã解説ãã¾ããããç§ãããè¦ãã®ã¯åå¨ããªãã¹ã¯ãªãããã¡ã¤ã«ãæå®ã㦠Node ãèµ·åããæã«ç¾ããã¨ã©ã¼ã¨ãã¦ã§ãããã®ä»ã // error.js if(true) { throw new Error('hoge'); } ãªã©ã¹ã¯ãªãããã¢ã¸ã¥ã¼ã«å ã§ã¨ã©ã¼ã throw ããæã«ãã $ node ~/error.js node.js:249 throw e; // process.nextTick error, or 'error'
{{#tags}}- {{label}}
{{/tags}}