Exception: RubyLlmMesh::ProviderError
- Defined in:
- lib/ruby_llm_mesh/errors.rb
Direct Known Subclasses
AuthenticationError, CircuitOpenError, RateLimitError, TimeoutError
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, provider: nil, status: nil, body: nil) ⇒ ProviderError
constructor
A new instance of ProviderError.
Constructor Details
#initialize(message, provider: nil, status: nil, body: nil) ⇒ ProviderError
Returns a new instance of ProviderError.
11 12 13 14 15 16 |
# File 'lib/ruby_llm_mesh/errors.rb', line 11 def initialize(, provider: nil, status: nil, body: nil) @provider = provider @status = status @body = body super() end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
9 10 11 |
# File 'lib/ruby_llm_mesh/errors.rb', line 9 def body @body end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
9 10 11 |
# File 'lib/ruby_llm_mesh/errors.rb', line 9 def provider @provider end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
9 10 11 |
# File 'lib/ruby_llm_mesh/errors.rb', line 9 def status @status end |