code: def callback(n_clicks):
      time.sleep(1)
      if n_clicks == 2:
          raise Exception("bad error")
  
      if n_clicks == 4:
          raise PreventUpdate
      return f"Clicked {n_clicks} times"
  
file_path: dash/tests/integration/long_callback/app_error.py
imports: import time
  import dash
  from dash import html, no_update
  from dash.dependencies import Input, Output
  from dash.exceptions import PreventUpdate
  from tests.integration.long_callback.utils import get_long_callback_manager
label_desc: Use image node_id 1 for calling a global function with example usage: callback(n_clicks) and returns: str, n_clicks, str