Why are we exiting instead of returning the error code and letting the rest of the system handle it appropriately?