Exception: Doing::Errors::UserCancelled
- Inherits:
-
DoingNoTraceError
- Object
- StandardError
- DoingNoTraceError
- Doing::Errors::UserCancelled
- Defined in:
- lib/doing/errors.rb
Instance Method Summary collapse
-
#initialize(msg = 'Cancelled', topic = 'Exited:') ⇒ UserCancelled
constructor
A new instance of UserCancelled.
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 |