documented likely_set_error_callback