class Doing::Errors::WrongCommand

Public Class Methods

new(msg = 'wrong command', topic: 'Error:') click to toggle source
Calls superclass method Doing::Errors::DoingNoTraceError::new
# File lib/doing/errors.rb, line 38
def initialize(msg = 'wrong command', topic: 'Error:')
  super(msg, level: :warn, topic: topic, exit_code: 2)
end