We could raise from here directly and call the function `validate_pipeline_args!`.