Exception: Legion::LLM::ProviderError
- Defined in:
- lib/legion/llm/errors.rb
Instance Attribute Summary collapse
-
#outcome ⇒ Object
readonly
M3.3: carries the exact Phase 1 ProviderOutcome (see AuthError).
Instance Method Summary collapse
-
#initialize(message = nil, outcome: nil) ⇒ ProviderError
constructor
A new instance of ProviderError.
- #retryable? ⇒ Boolean
Constructor Details
#initialize(message = nil, outcome: nil) ⇒ ProviderError
Returns a new instance of ProviderError.
40 41 42 43 |
# File 'lib/legion/llm/errors.rb', line 40 def initialize( = nil, outcome: nil) @outcome = outcome super() end |
Instance Attribute Details
#outcome ⇒ Object (readonly)
M3.3: carries the exact Phase 1 ProviderOutcome (see AuthError).
38 39 40 |
# File 'lib/legion/llm/errors.rb', line 38 def outcome @outcome end |
Instance Method Details
#retryable? ⇒ Boolean
45 |
# File 'lib/legion/llm/errors.rb', line 45 def retryable? = true |