Exception: Hesburgh::Lib::ControllerWithRunner::ImproperRunnerError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/hesburgh/lib/controller_with_runner.rb

Overview

Raised when a Runner is not found

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ImproperRunnerError

:nodoc:



69
70
71
# File 'lib/hesburgh/lib/controller_with_runner.rb', line 69

def initialize(options = {})
  super("Expected #{options.fetch(:runner)} to respond_to #{options.fetch(:method_name)}")
end