Exception: Doing::Errors::WrongCommand

Inherits:
DoingNoTraceError show all
Defined in:
lib/doing/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'wrong command', topic: 'Error:') ⇒ WrongCommand

Returns a new instance of WrongCommand.



38
39
40
# File 'lib/doing/errors.rb', line 38

def initialize(msg = 'wrong command', topic: 'Error:')
  super(msg, level: :warn, topic: topic, exit_code: 2)
end