Exception: LegoEv3::InvalidCommandException

Inherits:
Exception
  • Object
show all
Defined in:
lib/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(verb) ⇒ InvalidCommandException

Returns a new instance of InvalidCommandException.



13
14
15
16
17
# File 'lib/exceptions.rb', line 13

def initialize(verb)
  super(
    "The command with verb #{verb} is not supported." +
    "You must implement it.")
end