Exception: Gotta::Mod::MissingDependencyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gotta/mod/hub.rb

Instance Method Summary collapse

Constructor Details

#initialize(source, dep) ⇒ MissingDependencyError

Returns a new instance of MissingDependencyError.



8
9
10
11
# File 'lib/gotta/mod/hub.rb', line 8

def initialize(source, dep)
  msg = "The mod '#{source}' depends on '#{dep}', but '#{dep}' is not installed in this project. Installed mods: #{Mod.hub.loaded_mods.to_a}"
  super msg
end