Return a non-zero error code to the OS when something unexpected did happen.