{"record":{"id":"2ad4efb9a1ad5888","repo":"iberianpig/fusuma","slug":"expand-custom-path-is-not-found","errorCode":null,"errorMessage":"#{expand_custom_path} is NOT FOUND","messagePattern":"#(.+?) is NOT FOUND","errorType":"exception","errorClass":"NotFoundError","httpStatus":null,"severity":"error","filePath":"lib/fusuma/config.rb","lineNumber":155,"sourceCode":"\n      return @cache_execute_keys[cache_key] if @cache_execute_keys.has_key?(cache_key)\n\n      @cache_execute_keys[cache_key] =\n        @execute_keys.find do |execute_key|\n          new_index = Config::Index.new(index.keys | [execute_key])\n          search(new_index)\n        end\n    end\n\n    private\n\n    #: () -> String\n    def find_config_filepath\n      filename = \"fusuma/config.yml\"\n      if custom_path\n        return expand_custom_path if File.exist?(expand_custom_path)\n\n        raise NotFoundError, \"#{expand_custom_path} is NOT FOUND\"\n      elsif File.exist?(expand_config_path(filename))\n        expand_config_path(filename)\n      else\n        MultiLogger.warn \"config file: #{expand_config_path(filename)} is NOT FOUND\"\n        expand_default_path(filename)\n      end\n    end\n\n    #: () -> String\n    def expand_custom_path\n      File.expand_path(custom_path)\n    end\n\n    #: (String) -> String\n    def expand_config_path(filename)\n      File.expand_path \"~/.config/#{filename}\"\n    end\n","sourceCodeStart":137,"sourceCodeEnd":173,"githubUrl":"https://github.com/iberianpig/fusuma/blob/43a7eb04fe6c0709a646be183a612e56e5f60a2e/lib/fusuma/config.rb#L137-L173","documentation":"Error \"#{expand_custom_path} is NOT FOUND\" thrown in iberianpig/fusuma.","triggerScenarios":"Thrown at lib/fusuma/config.rb:155 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Create the config file at the path shown in the error, or correct the path passed via the -c/--config option.","Check for typos, missing directories, or a wrong home-directory prefix in the custom config path.","Remove the custom path option to fall back to the default location under ~/.config/fusuma/config.yml."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"43a7eb04fe6c0709a646be183a612e56e5f60a2e","analyzedAt":"2026-08-23T06:17:53.504Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}