code: def _unknown_source_resolution_error(source, dep, e):
      if log.getEffectiveLevel() <= logging.DEBUG:
          log.exception(
              "resolving required source '%s' in %s resource",
              source.resolving_name,
              dep.resdef.resolving_name,
          )
      raise OpDependencyError(
          f"unexpected error resolving '{source.resolving_name}' in "
          f"{dep.resdef.resolving_name} resource: {e!r}"
      )
  
imports: import os
  import re
  import logging
  import typing
  from guild import cli
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 24 for calling a global function with example usage: _unknown_source_resolution_error(source, dep, e) without return types