Exception: ActionAI::NonInferrableAgentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/action_ai/test_case.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NonInferrableAgentError

Returns a new instance of NonInferrableAgentError.



8
9
10
11
12
# File 'lib/action_ai/test_case.rb', line 8

def initialize(name)
  super "Unable to determine the agent to test from #{name}. " \
    "You'll need to specify it using tests YourAgent in your " \
    "test case definition"
end