Exception: MonkeyBars::NoPatchableVersionCheckError

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

Instance Method Summary collapse

Constructor Details

#initialize(patcher_name, monkey: nil) ⇒ NoPatchableVersionCheckError

Returns a new instance of NoPatchableVersionCheckError.



47
48
49
# File 'lib/monkey_bars/errors.rb', line 47

def initialize(patcher_name, monkey: nil)
  super("[#{patcher_name}] `version_check` block is missing. Without it, there's no way to know if the version of `#{monkey}` is patchable.")
end