Exception: Smith::ToolGuardrailFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/smith/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, retryable: nil) ⇒ ToolGuardrailFailed

Returns a new instance of ToolGuardrailFailed.



48
49
50
51
# File 'lib/smith/errors.rb', line 48

def initialize(message, retryable: nil)
  @retryable = retryable
  super(message)
end

Instance Attribute Details

#retryableObject (readonly)

Returns the value of attribute retryable.



46
47
48
# File 'lib/smith/errors.rb', line 46

def retryable
  @retryable
end