Exception: OTerm::CommandError

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

Instance Method Summary collapse

Constructor Details

#initialize(cmd) ⇒ CommandError

Returns a new instance of CommandError.



5
6
7
# File 'lib/oterm/errors.rb', line 5

def initialize(cmd)
  super("#{cmd} is not a valid command")
end