Exception: Legion::LLM::Skills::StepError

Inherits:
LLMError
  • Object
show all
Defined in:
lib/legion/llm/skills/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LLMError

#retryable?

Constructor Details

#initialize(msg, cause: nil) ⇒ StepError

Returns a new instance of StepError.



17
18
19
20
# File 'lib/legion/llm/skills/errors.rb', line 17

def initialize(msg, cause: nil)
  super(msg)
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



15
16
17
# File 'lib/legion/llm/skills/errors.rb', line 15

def cause
  @cause
end