code: def _expected_error_on(gdf, ogr_driver):
      composite_key = _composite_key(gdf, ogr_driver)
      return _expected_exceptions.get(composite_key, None)
  
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 3 for calling a global function with example usage: _expected_error_on(gdf, ogr_driver) and returns: _expected_exceptions