Exception: WaxTasks::Error::WaxTasksError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/wax_tasks/error.rb

Overview

Custom WaxTasks Error class with magenta console output

Instance Method Summary collapse

Constructor Details

#initialize(msg = '') ⇒ WaxTasksError

Returns a new instance of WaxTasksError.


8
9
10
# File 'lib/wax_tasks/error.rb', line 8

def initialize(msg = '')
  super(Rainbow(msg).magenta)
end