code: def test_dst_crs_error_2(runner, tmpdir):
      """Invalid PROJ.4 is a bad parameter."""
      srcname = "tests/data/RGB.byte.tif"
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          [
              "warp",
              srcname,
              outputname,
              "--dst-crs",
              '{"proj": "foobar"}',
          ],
      )
      assert result.exit_code == 2
      assert "Invalid value for dst_crs" in result.output
  
imports: import os
  import affine
  import numpy
  import pytest
  import rasterio
  from rasterio.warp import SUPPORTED_RESAMPLING
  from rasterio.rio import warp
  from rasterio.rio.main import main_group
label_desc: Use image node_id 2 for calling a global function with example usage: test_dst_crs_error_2(runner, tmpdir) without return types