Should halt execution when error != nil