Exception: AgentHarness::McpUnsupportedError

Inherits:
ProviderError show all
Defined in:
lib/agent_harness/errors.rb

Direct Known Subclasses

McpTransportUnsupportedError

Instance Attribute Summary collapse

Attributes inherited from Error

#context, #original_error

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, provider: nil, **kwargs) ⇒ McpUnsupportedError

Returns a new instance of McpUnsupportedError.



123
124
125
126
# File 'lib/agent_harness/errors.rb', line 123

def initialize(message = nil, provider: nil, **kwargs)
  @provider = provider
  super(message, **kwargs)
end

Instance Attribute Details

#provider ⇒ Object (readonly)

Returns the value of attribute provider.



121
122
123
# File 'lib/agent_harness/errors.rb', line 121

def provider
  @provider
end