Exception: AgentHarness::NoProvidersAvailableError
- Defined in:
- lib/agent_harness/errors.rb
Overview
Orchestration errors
Instance Attribute Summary collapse
-
#attempted_providers ⇒ Object
readonly
Returns the value of attribute attempted_providers.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, attempted_providers: [], errors: {}, **kwargs) ⇒ NoProvidersAvailableError
constructor
A new instance of NoProvidersAvailableError.
Constructor Details
#initialize(message = nil, attempted_providers: [], errors: {}, **kwargs) ⇒ NoProvidersAvailableError
Returns a new instance of NoProvidersAvailableError.
64 65 66 67 68 |
# File 'lib/agent_harness/errors.rb', line 64 def initialize( = nil, attempted_providers: [], errors: {}, **kwargs) @attempted_providers = attempted_providers @errors = errors super(, **kwargs) end |
Instance Attribute Details
#attempted_providers ⇒ Object (readonly)
Returns the value of attribute attempted_providers.
62 63 64 |
# File 'lib/agent_harness/errors.rb', line 62 def attempted_providers @attempted_providers end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
62 63 64 |
# File 'lib/agent_harness/errors.rb', line 62 def errors @errors end |