Using condition line twice does not seem valid, you can always use && or || on first line. Therefore raising error makes sense to me.