Exception: Qyu::Errors::WorkflowNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/qyu/errors/workflow_not_found.rb

Overview

Qyu::Errors::WorkflowNotFound

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, workflow_id) ⇒ WorkflowNotFound

Returns a new instance of WorkflowNotFound.



8
9
10
11
12
# File 'lib/qyu/errors/workflow_not_found.rb', line 8

def initialize(key, workflow_id)
  super("Workflow not found with #{key}=#{workflow_id}.")
  @key = key
  @workflow_id = workflow_id
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



7
8
9
# File 'lib/qyu/errors/workflow_not_found.rb', line 7

def key
  @key
end

#workflow_idObject (readonly)

Returns the value of attribute workflow_id.



7
8
9
# File 'lib/qyu/errors/workflow_not_found.rb', line 7

def workflow_id
  @workflow_id
end