Exception: Qyu::Errors::TaskNotFound
- Defined in:
- lib/qyu/errors/task_not_found.rb
Overview
Qyu::Errors::TaskNotFound
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#task_id ⇒ Object
readonly
Returns the value of attribute task_id.
Instance Method Summary collapse
-
#initialize(task_id, original_error) ⇒ TaskNotFound
constructor
A new instance of TaskNotFound.
Constructor Details
#initialize(task_id, original_error) ⇒ TaskNotFound
Returns a new instance of TaskNotFound.
8 9 10 11 12 |
# File 'lib/qyu/errors/task_not_found.rb', line 8 def initialize(task_id, original_error) super("Task not found with id=#{task_id}.") @original_error = original_error @task_id = task_id end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
7 8 9 |
# File 'lib/qyu/errors/task_not_found.rb', line 7 def original_error @original_error end |
#task_id ⇒ Object (readonly)
Returns the value of attribute task_id.
7 8 9 |
# File 'lib/qyu/errors/task_not_found.rb', line 7 def task_id @task_id end |