Exception: Legion::LLM::PipelineError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LLMError

#retryable?

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

#stepObject (readonly)

Returns the value of attribute step.



35
36
37
# File 'lib/legion/llm/errors.rb', line 35

def step
  @step
end