Exception: Tasque::TaskError
- Inherits:
-
Exception
- Object
- Exception
- Tasque::TaskError
- Defined in:
- lib/tasque/task_error.rb
Instance Attribute Summary collapse
-
#task ⇒ Object
readonly
Returns the value of attribute task.
-
#task_error ⇒ Object
readonly
Returns the value of attribute task_error.
Instance Method Summary collapse
-
#initialize(task, task_error) ⇒ TaskError
constructor
A new instance of TaskError.
Constructor Details
#initialize(task, task_error) ⇒ TaskError
Returns a new instance of TaskError.
6 7 8 9 |
# File 'lib/tasque/task_error.rb', line 6 def initialize(task, task_error) @task = task @task_error = task_error end |
Instance Attribute Details
#task ⇒ Object (readonly)
Returns the value of attribute task.
3 4 5 |
# File 'lib/tasque/task_error.rb', line 3 def task @task end |
#task_error ⇒ Object (readonly)
Returns the value of attribute task_error.
4 5 6 |
# File 'lib/tasque/task_error.rb', line 4 def task_error @task_error end |