Exception: AgentHarness::ProviderInstallationError
- Inherits:
-
ProviderError
- Object
- StandardError
- Error
- ProviderError
- AgentHarness::ProviderInstallationError
- Defined in:
- lib/agent_harness/errors.rb
Instance Attribute Summary collapse
-
#error_category ⇒ Object
readonly
Returns the value of attribute error_category.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, provider: nil, error_category: :installation, **kwargs) ⇒ ProviderInstallationError
constructor
A new instance of ProviderInstallationError.
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( = nil, provider: nil, error_category: :installation, **kwargs) @provider = provider @error_category = error_category super(, **kwargs) end |
Instance Attribute Details
#error_category ⇒ Object (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 |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
19 20 21 |
# File 'lib/agent_harness/errors.rb', line 19 def provider @provider end |