code: def _not_found_error(base_paths, relative_paths, filepattern):
      base_paths = "".join(
          ["\n        '%s'" % path for path in sorted(base_paths)]
      )
      relative_paths = "".join(
          ["\n        '%s'" % path for path in relative_paths]
      )
      return ConfigError(
          "Could not find any %s in any subdirectory:%s\nof:%s\n"
          % (filepattern, relative_paths, base_paths)
      )
  
imports: import io
  import os
  import glob
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 12 for calling a global function with example usage: _not_found_error(base_paths, relative_paths, filepattern) and returns: ConfigError