Exception: Rubydex::Linter::MissingGraphDependencyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubydex/linter/custom_rule.rb

Instance Method Summary collapse

Constructor Details

#initialize(rule_name, dependency) ⇒ MissingGraphDependencyError

: (String, String) -> void



88
89
90
91
92
93
94
# File 'lib/rubydex/linter/custom_rule.rb', line 88

def initialize(rule_name, dependency)
  super(
    "Rubydex linter rule `#{rule_name}` requires #{dependency} to exist in the Rubydex graph. " \
      "This is a rule setup error, not a clean lint result; ensure the source that defines " \
      "the dependency is indexed and Rubydex can resolve it.",
  )
end