Exception: Yoker::MissingDependencyError

Inherits:
Error
  • Object
show all
Defined in:
lib/yoker/errors.rb

Overview

Raised when required external tools are missing

Instance Method Summary collapse

Constructor Details

#initialize(tool, installation_hint = nil) ⇒ MissingDependencyError

Returns a new instance of MissingDependencyError.



16
17
18
19
20
# File 'lib/yoker/errors.rb', line 16

def initialize(tool, installation_hint = nil)
  message = "Required tool '#{tool}' is not installed or not in PATH."
  message += " #{installation_hint}" if installation_hint
  super(message)
end