class Doing::Errors::WrongCommand

Public Class Methods

new(msg = 'wrong command', topic: 'Error:') click to toggle source
Calls superclass method
# File lib/doing/errors.rb, line 30
def initialize(msg = 'wrong command', topic: 'Error:')
  Doing.logger.warn(topic, msg)

  super(msg)
end