When a number is not a nubmer, don't just crash, exit properly with an error code. See attached testcase for an example.