Exception: Kreator::ToolCancellationError

Inherits:
ToolError
  • Object
show all
Defined in:
lib/kreator/tool_error.rb

Instance Attribute Summary

Attributes inherited from ToolError

#code, #details

Instance Method Summary collapse

Methods inherited from ToolError

#to_h

Constructor Details

#initialize(message = "tool execution cancelled", details: {}) ⇒ ToolCancellationError

Returns a new instance of ToolCancellationError.



30
31
32
# File 'lib/kreator/tool_error.rb', line 30

def initialize(message = "tool execution cancelled", details: {})
  super(message, code: "cancelled", details: details)
end