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