class Doing::Errors::UserCancelled

Public Class Methods

new(msg = 'Cancelled', topic = 'Exited:') click to toggle source
# File lib/doing/errors.rb, line 6
def initialize(msg = 'Cancelled', topic = 'Exited:')
  Doing.logger.output_results
  Doing.logger.log_now(:warn, topic, msg)
  Process.exit 1
end