code: def process_gs_exception(e):
      """
      Translate errors to Metaflow errors for standardized messaging. The intent is that all
      Google Cloud Storage integration logic should send errors to this function for
      translation.
  
      We explicitly EXCLUDE executor related errors here.  See handle_executor_exceptions
      """
      if isinstance(e, MetaflowException):
          # If it's already a MetaflowException... no translation needed
          raise
      if isinstance(e, ImportError):
          # Surprise ImportError here... (expected to see this handled and wrapped as MetaflowGSPackagingError)
          # Reraise it raw for visibility, it's a bug and is catastrophic anyway.
          raise
      # TODO we may catch and wrap more GCP errors here, as needed.
      raise MetaflowInternalError(msg=str(e))
  
imports: import sys
  from metaflow.exception import MetaflowException, MetaflowInternalError
  from metaflow.plugins.gcp.gs_exceptions import MetaflowGSPackageError
label_desc: Use image node_id 4 for calling a global function with example usage: process_gs_exception(e) without return types