Exception: WaxTasks::Error::WaxTasksError
- Inherits:
-
StandardError
- Object
- StandardError
- WaxTasks::Error::WaxTasksError
- Defined in:
- lib/wax_tasks/error.rb
Overview
Custom WaxTasks Error class with magenta console output
Direct Known Subclasses
InvalidCSV, InvalidCollection, InvalidConfig, InvalidJSON, InvalidSource, InvalidYAML, MissingArguments, MissingPid, MissingSource, NoSearchCollections, NonUniquePid, PageFailure, PageLoad
Instance Method Summary collapse
-
#initialize(msg = '') ⇒ WaxTasksError
constructor
A new instance of WaxTasksError.
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 |