Errors are now indicated by throwing an instance of this class:
try { . . . throw MyApplicationError("illegal value"); . . . } catch (MyApplicationError& e) { cerr << "Caught exception " << e.what() << "\n"; }