add a stub for _report_error