Exception: Legion::LLM::PipelineError
- Defined in:
- lib/legion/llm/errors.rb
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(msg = nil, step: nil) ⇒ PipelineError
constructor
A new instance of PipelineError.
Methods inherited from LLMError
Constructor Details
#initialize(msg = nil, step: nil) ⇒ PipelineError
Returns a new instance of PipelineError.
37 38 39 40 |
# File 'lib/legion/llm/errors.rb', line 37 def initialize(msg = nil, step: nil) @step = step super(msg) end |
Instance Attribute Details
#step ⇒ Object (readonly)
Returns the value of attribute step.
35 36 37 |
# File 'lib/legion/llm/errors.rb', line 35 def step @step end |