Exception: ComplyanceSDK::Exceptions::CircuitBreakerOpenError
- Inherits:
-
SDKException
- Object
- StandardError
- SDKException
- ComplyanceSDK::Exceptions::CircuitBreakerOpenError
- Defined in:
- lib/complyance_sdk/exceptions/circuit_breaker_open_error.rb
Overview
Exception raised when circuit breaker is open
Instance Attribute Summary
Attributes inherited from SDKException
Instance Method Summary collapse
-
#initialize(message = "Circuit breaker is open", **kwargs) ⇒ CircuitBreakerOpenError
constructor
A new instance of CircuitBreakerOpenError.
Methods inherited from SDKException
Constructor Details
#initialize(message = "Circuit breaker is open", **kwargs) ⇒ CircuitBreakerOpenError
Returns a new instance of CircuitBreakerOpenError.
9 10 11 |
# File 'lib/complyance_sdk/exceptions/circuit_breaker_open_error.rb', line 9 def initialize( = "Circuit breaker is open", **kwargs) super(, context: { code: :circuit_breaker_open, **kwargs }) end |