Exception: Ace::Review::Errors::TaskPathNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/ace/review/errors.rb

Overview

Raised when task exists but has no path

Instance Attribute Summary collapse

Instance Method Summary collapse

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
  message = "Task '#{task_ref}' exists but has no path.\n"
  message += "Check task status with: ace-task show #{task_ref}"
  super(message)
end

Instance Attribute Details

#task_refObject (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