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.



71
72
73
74
# File 'lib/agent_harness/errors.rb', line 71

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

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



69
70
71
# File 'lib/agent_harness/errors.rb', line 69

def provider
  @provider
end