Exception: Ace::Review::Errors::TaskPathNotFoundError
- Defined in:
- lib/ace/review/errors.rb
Overview
Raised when task exists but has no path
Instance Attribute Summary collapse
-
#task_ref ⇒ Object
readonly
Returns the value of attribute task_ref.
Instance Method Summary collapse
-
#initialize(task_ref) ⇒ TaskPathNotFoundError
constructor
A new instance of TaskPathNotFoundError.
Constructor Details
#initialize(task_ref) ⇒ TaskPathNotFoundError
Returns a new instance of TaskPathNotFoundError.
119 120 121 122 123 124 |
# File 'lib/ace/review/errors.rb', line 119 def initialize(task_ref) @task_ref = task_ref = "Task '#{task_ref}' exists but has no path.\n" += "Check task status with: ace-task show #{task_ref}" super() end |
Instance Attribute Details
#task_ref ⇒ Object (readonly)
Returns the value of attribute task_ref.
117 118 119 |
# File 'lib/ace/review/errors.rb', line 117 def task_ref @task_ref end |