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.



24
25
26
27
28
# File 'lib/agent_harness/errors.rb', line 24

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

Instance Attribute Details

#error_category ⇒ Object (readonly)

Returns the value of attribute error_category.



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

def error_category
  @error_category
end

#provider ⇒ Object (readonly)

Returns the value of attribute provider.



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

def provider
  @provider
end