Replace failure handling with up-front check.