Exception: RubyLLM::Agents::UnsupportedProviderError
- Defined in:
- lib/ruby_llm/agents/core/errors.rb
Overview
Raised when a TTS provider is not supported
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Instance Method Summary collapse
-
#initialize(message = nil, provider: nil) ⇒ UnsupportedProviderError
constructor
A new instance of UnsupportedProviderError.
Constructor Details
#initialize(message = nil, provider: nil) ⇒ UnsupportedProviderError
Returns a new instance of UnsupportedProviderError.
23 24 25 26 |
# File 'lib/ruby_llm/agents/core/errors.rb', line 23 def initialize( = nil, provider: nil) @provider = provider super( || "Provider :#{provider} is not supported for this operation") end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
21 22 23 |
# File 'lib/ruby_llm/agents/core/errors.rb', line 21 def provider @provider end |