Exception: LegoEv3::InvalidCommandException
- Inherits:
-
Exception
- Object
- Exception
- LegoEv3::InvalidCommandException
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize(verb) ⇒ InvalidCommandException
constructor
A new instance of InvalidCommandException.
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 |