code: def on_error(client, trial, error, worker_broken_trials):
      """If the script is not executable, don't waste time and raise right away"""
      if isinstance(error, (InexecutableUserScript, MissingResultFile)):
          raise error
  
      return True
  
file_path: orion/src/orion/core/cli/hunt.py
imports: from __future__ import annotations
  import logging
  import orion.core
  from orion.client.experiment import ExperimentClient
  from orion.core.cli import base
  from orion.core.cli import evc
  from orion.core.io import experiment_builder
  from orion.core.utils import sigterm_as_interrupt
  from orion.core.utils.exceptions import BrokenExperiment, InexecutableUserScript, MissingResultFile
  from orion.core.utils.format_terminal import format_stats
  from orion.core.worker.consumer import Consumer
label_desc: Use image node_id 2 for calling a global function with example usage: on_error(client, trial, error, worker_broken_trials) and returns: True