Exception: AgentHarness::CircuitOpenError
- Defined in:
- lib/agent_harness/errors.rb
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, provider: nil, **kwargs) ⇒ CircuitOpenError
constructor
A new instance of CircuitOpenError.
Constructor Details
#initialize(message = nil, provider: nil, **kwargs) ⇒ CircuitOpenError
Returns a new instance of CircuitOpenError.
41 42 43 44 |
# File 'lib/agent_harness/errors.rb', line 41 def initialize( = nil, provider: nil, **kwargs) @provider = provider super(, **kwargs) end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
39 40 41 |
# File 'lib/agent_harness/errors.rb', line 39 def provider @provider end |