Exception: Rcb::CircuitBreakerOpenError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rcb::CircuitBreakerOpenError
- Defined in:
- lib/rcb/error.rb
Instance Method Summary collapse
-
#initialize(tag, since) ⇒ CircuitBreakerOpenError
constructor
A new instance of CircuitBreakerOpenError.
Constructor Details
#initialize(tag, since) ⇒ CircuitBreakerOpenError
Returns a new instance of CircuitBreakerOpenError.
5 6 7 |
# File 'lib/rcb/error.rb', line 5 def initialize(tag, since) super(msg = "CircuitBreaker for '#{tag}' is open since #{since}") end |