Exception: Rubydex::Linter::MissingGraphDependencyError
- Inherits:
-
StandardError
- Object
- StandardError
- Rubydex::Linter::MissingGraphDependencyError
- Defined in:
- lib/rubydex/linter/custom_rule.rb
Instance Method Summary collapse
-
#initialize(rule_name, dependency) ⇒ MissingGraphDependencyError
constructor
: (String, String) -> void.
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 |