isaacs
b30a03eda0
process: use exit 1 for uncaughtException
...
Since it is Unix tradition to use exit code 1 for general-purpose script
bail-out, and the way of doing that in Node is to throw an exception and
not catch it, it makes the most sense to exit with 1 when an exception
goes uncaught.
Move the `Invalid Argument` exit to 9, so that it's something specific,
and clear that it's a node internal error.
Also, document the exit codes that we use.
2013-09-06 18:23:15 -07:00
..
2013-01-11 22:24:48 +01:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-07-31 22:12:06 +04:00
2013-07-31 22:12:06 +04:00
2013-09-06 21:19:55 +02:00
2013-08-21 15:52:23 -07:00
2013-08-09 11:44:50 +02:00
2013-07-31 23:16:26 +02:00
2013-08-29 14:25:57 +02:00
2013-08-29 14:25:57 +02:00
2013-08-06 16:13:01 +04:00
2013-08-06 15:39:43 +02:00
2013-08-06 16:13:01 +04:00
2013-07-31 22:12:06 +04:00
2013-09-06 21:19:55 +02:00
2013-09-06 21:19:55 +02:00
2013-08-09 11:44:50 +02:00
2013-07-31 22:12:06 +04:00
2013-07-31 22:12:06 +04:00
2013-08-21 15:52:23 -07:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-07-31 22:12:06 +04:00
2013-09-06 05:51:42 +02:00
2013-08-09 11:44:50 +02:00
2013-07-31 22:12:06 +04:00
2012-03-10 00:14:14 +01:00
2013-09-06 21:19:55 +02:00
2013-09-06 05:51:42 +02:00
2013-04-03 09:52:56 -07:00
2011-08-30 08:53:21 -07:00
2013-09-06 05:51:42 +02:00
2013-09-06 21:19:55 +02:00
2013-09-06 05:51:42 +02:00
2013-07-31 22:12:06 +04:00
2013-07-31 22:12:06 +04:00
2013-07-31 22:12:06 +04:00
2013-08-27 00:13:50 +02:00
2013-07-31 23:16:26 +02:00
2013-08-01 11:39:25 +02:00
2013-07-31 22:12:06 +04:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 18:23:15 -07:00
2012-02-03 14:07:32 +00:00
2013-09-06 05:51:42 +02:00
2013-09-06 18:23:15 -07:00
2013-05-22 20:19:31 -07:00
2013-07-24 21:49:18 +02:00
2012-11-21 01:21:53 +01:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-07-31 22:12:06 +04:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-08-20 13:33:35 -07:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-03 10:04:58 -07:00
2013-07-30 14:41:01 -07:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2012-08-07 01:57:50 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-09-06 05:51:42 +02:00
2013-07-31 22:12:06 +04:00
2013-03-20 01:11:02 +01:00