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.



41
42
43
44
# File 'lib/smith/errors.rb', line 41

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

Instance Attribute Details

#retryableObject (readonly)

Returns the value of attribute retryable.



39
40
41
# File 'lib/smith/errors.rb', line 39

def retryable
  @retryable
end