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.



6
7
8
# File 'lib/wax_tasks/error.rb', line 6

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