Exception: Rcb::CircuitBreakerOpenError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rcb/error.rb

Instance Method Summary collapse

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