code: def __init__(self, error_type, error_message_match):
      self.type = error_type
      self.match = error_message_match
  
file_path: geopandas/geopandas/io/tests/test_file_geom_types_drivers.py
imports: import os
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import geopandas
  from geopandas import GeoDataFrame
  from geopandas.testing import assert_geodataframe_equal
  import pytest
  from .test_file import FIONA_MARK, PYOGRIO_MARK
label_desc: Use image node_id 1 to create a new _ExpectedError object  with example: obj = _ExpectedError(error_type, error_message_match)