Exception: Doing::Errors::UserCancelled

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Cancelled', topic = 'Exited:') ⇒ UserCancelled

Returns a new instance of UserCancelled.



18
19
20
# File 'lib/doing/errors.rb', line 18

def initialize(msg = 'Cancelled', topic = 'Exited:')
  super(msg, level: :warn, topic: topic, exit_code: 1)
end