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.



78
79
80
81
# File 'lib/smith/errors.rb', line 78

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

Instance Attribute Details

#retryableObject (readonly)

Returns the value of attribute retryable.



76
77
78
# File 'lib/smith/errors.rb', line 76

def retryable
  @retryable
end