Exception: Tasque::TaskError

Inherits:
Exception
  • Object
show all
Defined in:
lib/tasque/task_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#taskObject (readonly)

Returns the value of attribute task.



3
4
5
# File 'lib/tasque/task_error.rb', line 3

def task
  @task
end

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