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.
46 47 48 49 |
# File 'lib/agent_harness/errors.rb', line 46 def initialize( = nil, provider: nil, **kwargs) @provider = provider super(, **kwargs) end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
44 45 46 |
# File 'lib/agent_harness/errors.rb', line 44 def provider @provider end |