Exception: Mutx::Error::Task
- Inherits:
-
StandardError
- Object
- StandardError
- Mutx::Error::Task
- Defined in:
- lib/mutx/error/errors.rb
Overview
Raised when there is an error related to Tasks.
Instance Attribute Summary collapse
-
#task_name ⇒ Object
readonly
Returns the value of attribute task_name.
Instance Method Summary collapse
-
#initialize(task_name, message = nil) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(task_name, message = nil) ⇒ Task
Returns a new instance of Task.
8 9 10 11 12 |
# File 'lib/mutx/error/errors.rb', line 8 def initialize(task_name, =nil) @task_name = task_name = super() end |
Instance Attribute Details
#task_name ⇒ Object (readonly)
Returns the value of attribute task_name.
6 7 8 |
# File 'lib/mutx/error/errors.rb', line 6 def task_name @task_name end |