Exception: AgentHarness::ProviderInstallationError

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

Instance Attribute Summary collapse

Attributes inherited from Error

#context, #original_error

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, provider: nil, error_category: :installation, **kwargs) ⇒ ProviderInstallationError

Returns a new instance of ProviderInstallationError.



21
22
23
24
25
# File 'lib/agent_harness/errors.rb', line 21

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

Instance Attribute Details

#error_categoryObject (readonly)

Returns the value of attribute error_category.



19
20
21
# File 'lib/agent_harness/errors.rb', line 19

def error_category
  @error_category
end

#providerObject (readonly)

Returns the value of attribute provider.



19
20
21
# File 'lib/agent_harness/errors.rb', line 19

def provider
  @provider
end