class_docstr: Base class for Jupyter applications
docstr: Load the config file.
  
  By default, errors in loading config are handled, and a warning
  printed on screen. For testing, the suppress_errors option is set
  to False, so errors will make tests fail.
docstr_tok: ["Load","the","config","file",".","By","default",",","errors","in","loading","config","are","handled",",","and","a","warning","printed","on","screen",".","For","testing",",","the","suppress_errors","option","is","set","to","False",",","so","errors","will","make","tests","fail","."]
code: def load_config_file(self, suppress_errors=True):
      """Load the config file.
  
      By default, errors in loading config are handled, and a warning
      printed on screen. For testing, the suppress_errors option is set
      to False, so errors will make tests fail.
      """
      self.log.debug(
          "Searching %s for config files", self.config_file_paths
      )
      base_config = "jupyter_config"
      try:
          super(JupyterApp, self).load_config_file(
              base_config,
              path=self.config_file_paths,
          )
      except ConfigFileNotFound:
          # ignore errors loading parent
          self.log.debug("Config file %s not found", base_config)
          pass
  
      if self.config_file:
          path, config_file_name = os.path.split(self.config_file)
      else:
          path = self.config_file_paths
          config_file_name = self.config_file_name
  
          if not config_file_name or (config_file_name == base_config):
              return
  
      try:
          super(JupyterApp, self).load_config_file(
              config_file_name, path=path
          )
      except ConfigFileNotFound:
          self.log.debug(
              "Config file not found, skipping: %s", config_file_name
          )
      except Exception:
          # Reraise errors for testing purposes, or if set in
          # self.raise_config_file_errors
          if (not suppress_errors) or self.raise_config_file_errors:
              raise
          self.log.warning(
              "Error loading config file: %s" % config_file_name,
              exc_info=True,
          )
  
imports: from __future__ import print_function
  from copy import deepcopy
  import logging
  import os
  import sys
  from traitlets.config.application import Application, catch_config_error
  from traitlets.config.loader import ConfigFileNotFound
  from traitlets import Unicode, Bool, List, observe
  from .utils import ensure_dir_exists
  from ipython_genutils import py3compat
  from .paths import jupyter_config_dir, jupyter_data_dir, jupyter_runtime_dir, jupyter_path, jupyter_config_path, allow_insecure_writes, issue_insecure_write_warning
label_desc: Use image node_id 11 for calling the JupyterApp obj's underlying member method code with example usage: obj.load_config_file(suppress_errors) without return types