Exception: Workflow::TaskNotFoundException

Inherits:
Exception
  • Object
show all
Defined in:
lib/rbbt/workflow.rb

Instance Method Summary collapse

Constructor Details

#initialize(workflow, task = nil) ⇒ TaskNotFoundException

Returns a new instance of TaskNotFoundException.



13
14
15
16
17
18
19
# File 'lib/rbbt/workflow.rb', line 13

def initialize(workflow, task = nil)
  if task
    super "Task '#{ task }' not found in #{ workflow } workflow"
  else
    super workflow
  end
end