Exception: LlmProviders::ProviderError
- Inherits:
-
StandardError
- Object
- StandardError
- LlmProviders::ProviderError
- Defined in:
- lib/llm_providers/provider_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code: nil) ⇒ ProviderError
constructor
A new instance of ProviderError.
Constructor Details
#initialize(message, code: nil) ⇒ ProviderError
Returns a new instance of ProviderError.
7 8 9 10 |
# File 'lib/llm_providers/provider_error.rb', line 7 def initialize(, code: nil) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/llm_providers/provider_error.rb', line 5 def code @code end |