Exception: Legion::LLM::AuthError
- Defined in:
- lib/legion/llm/errors.rb
Instance Attribute Summary collapse
-
#outcome ⇒ Object
readonly
M3.3: carries the exact Phase 1 ProviderOutcome so the typed failure kind survives the raise/rescue boundary on the error itself — the side-channel ivar is gone.
Instance Method Summary collapse
-
#initialize(message = nil, outcome: nil) ⇒ AuthError
constructor
A new instance of AuthError.
Methods inherited from LLMError
Constructor Details
#initialize(message = nil, outcome: nil) ⇒ AuthError
Returns a new instance of AuthError.
15 16 17 18 |
# File 'lib/legion/llm/errors.rb', line 15 def initialize( = nil, outcome: nil) @outcome = outcome super() end |
Instance Attribute Details
#outcome ⇒ Object (readonly)
M3.3: carries the exact Phase 1 ProviderOutcome so the typed failure kind survives the raise/rescue boundary on the error itself — the side-channel ivar is gone.
13 14 15 |
# File 'lib/legion/llm/errors.rb', line 13 def outcome @outcome end |