Exception: Soka::Rails::InvalidToolParametersError
Overview
Raised when tool is called with invalid parameters
Instance Method Summary collapse
-
#initialize(tool_name, errors) ⇒ InvalidToolParametersError
constructor
A new instance of InvalidToolParametersError.
Constructor Details
#initialize(tool_name, errors) ⇒ InvalidToolParametersError
Returns a new instance of InvalidToolParametersError.
61 62 63 |
# File 'lib/soka/rails/errors.rb', line 61 def initialize(tool_name, errors) super("Invalid parameters for tool #{tool_name}: #{errors.join(', ')}") end |