class_docstr: Silently stop and rerun the user's script.
class_docstr_tok: ["Silently","stop","and","rerun","the","user","'s","script","."]
docstr: Construct a RerunException
  
  Parameters
  ----------
  rerun_data : RerunData
      The RerunData that should be used to rerun the script
docstr_tok: ["Construct","a","RerunException","Parameters","--","--","--","--","--","rerun_data",":","RerunData","The","RerunData","that","should","be","used","to","rerun","the","script"]
code: def __init__(self, rerun_data: RerunData):
      """Construct a RerunException
  
      Parameters
      ----------
      rerun_data : RerunData
          The RerunData that should be used to rerun the script
      """
      self.rerun_data = rerun_data
  
imports: import gc
  import sys
  import threading
  import types
  from contextlib import contextmanager
  from enum import Enum
  from timeit import default_timer
  from typing import Callable, Dict, Optional
  from blinker import Signal
  from streamlit import config, runtime, source_util, util
  from streamlit.error_util import handle_uncaught_app_exception
  from streamlit.logger import get_logger
  from streamlit.proto.ClientState_pb2 import ClientState
  from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
  from streamlit.runtime.scriptrunner.script_cache import ScriptCache
  from streamlit.runtime.scriptrunner.script_requests import RerunData, ScriptRequests, ScriptRequestType
  from streamlit.runtime.scriptrunner.script_run_context import ScriptRunContext, add_script_run_ctx, get_script_run_ctx
  from streamlit.runtime.state import SCRIPT_RUN_WITHOUT_ERRORS_KEY, SafeSessionState, SessionState
  from streamlit.runtime.uploaded_file_manager import UploadedFileManager
  from streamlit.vendor.ipython.modified_sys_path import modified_sys_path
label_desc: Use image node_id 1 to create a new RerunException object from inherited base classes: ScriptControlException with example: obj = RerunException(rerun_data)