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.



78
79
80
81
# File 'lib/agent_harness/errors.rb', line 78

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

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



76
77
78
# File 'lib/agent_harness/errors.rb', line 76

def provider
  @provider
end