whole_func_string: function getCosmiConfig() {
    try {
      const config = require(configPath);
  
      if (typeof config === 'object' && typeof config.iopipe === 'object') {
        return config.iopipe;
      }
    } catch (err) {
      Function.prototype; // noop
    }
  
    return {};
  }
func_code_string: function getCosmiConfig() {
    try {
      const config = require(configPath);
  
      if (typeof config === 'object' && typeof config.iopipe === 'object') {
        return config.iopipe;
      }
    } catch (err) {
      Function.prototype; // noop
    }
  
    return {};
  }
func_documentation_string: /*eslint-disable import/no-dynamic-require