Ensure errors not under test are never reached.