Exception: Motel::InvalidMovementStrategy

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/motel/errors.rb

Overview

Error raised by the Runner and other subsystems when a movement strategy is invalid in its context

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ InvalidMovementStrategy


11
12
13
# File 'lib/motel/errors.rb', line 11

def initialize(msg)
   super(msg)
end