Exception: Legion::LLM::Skills::StepError
- Defined in:
- lib/legion/llm/skills/errors.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(msg, cause: nil) ⇒ StepError
constructor
A new instance of StepError.
Methods inherited from LLMError
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
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
15 16 17 |
# File 'lib/legion/llm/skills/errors.rb', line 15 def cause @cause end |