Early return if error