code: def on_error(self, error, runtime):
      self.error = error
  
file_path: featuretools/featuretools/tests/utils_tests/test_entry_point.py
imports: import pandas
  import pytest
  from featuretools import dfs
label_desc: Use image node_id 2 for calling the MockEntryPoint obj's underlying member method code with example usage: obj.on_error(error, runtime) without return types