Exception: MonkeyBars::NoPatchableVersionFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/monkey_bars/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(patcher_name, monkey: nil, version: nil, current_version: nil) ⇒ NoPatchableVersionFoundError



41
42
43
# File 'lib/monkey_bars/errors.rb', line 41

def initialize(patcher_name, monkey: nil, version: nil, current_version: nil)
  super("[#{patcher_name}] Ready to patch `#{monkey}` but found version `#{current_version}` instead of `#{version}`.")
end