code: def test_exception_from_core_catch_generic(self):
      tbl = Table({"a": [1, 2, 3]})
      # `PerspectiveCppError` should inherit from `Exception`
      with raises(Exception) as ex:
          tbl.view(group_by=["b"])
  
      assert (
          str(ex.value)
          == "Invalid column 'b' found in View group_by.\n"
      )
  
imports: from pytest import raises
  from perspective import Table, PerspectiveError, PerspectiveCppError
label_desc: Use image node_id 2 for calling the TestException obj's underlying member method code with example usage: obj.test_exception_from_core_catch_generic() without return types