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.



52
53
54
55
# File 'lib/legion/llm/errors.rb', line 52

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

Instance Attribute Details

#stepObject (readonly)

Returns the value of attribute step.



50
51
52
# File 'lib/legion/llm/errors.rb', line 50

def step
  @step
end