Exception: Ace::Review::Errors::TaskNotFoundError
- Defined in:
- lib/ace/review/errors.rb
Overview
Raised when ace-task cannot find task
Instance Attribute Summary collapse
-
#task_ref ⇒ Object
readonly
Returns the value of attribute task_ref.
Instance Method Summary collapse
-
#initialize(task_ref) ⇒ TaskNotFoundError
constructor
A new instance of TaskNotFoundError.
Constructor Details
#initialize(task_ref) ⇒ TaskNotFoundError
Returns a new instance of TaskNotFoundError.
107 108 109 110 111 112 |
# File 'lib/ace/review/errors.rb', line 107 def initialize(task_ref) @task_ref = task_ref = "Task '#{task_ref}' not found.\n" += "Run 'ace-task show #{task_ref}' for details." super() end |
Instance Attribute Details
#task_ref ⇒ Object (readonly)
Returns the value of attribute task_ref.
105 106 107 |
# File 'lib/ace/review/errors.rb', line 105 def task_ref @task_ref end |