Updated the Exceptions.withExceptionHandling method so that it now returns an error code from the exception handlers. Also updated the PrettyCat main method so that it now delegates to a testable run method and returns the executions error code.