Exception: HTTPigeon::CircuitBreaker::CircuitOpenError

Inherits:
Error
  • Object
show all
Defined in:
lib/httpigeon/circuit_breaker/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(service_id) ⇒ CircuitOpenError

Returns a new instance of CircuitOpenError.



6
7
8
# File 'lib/httpigeon/circuit_breaker/errors.rb', line 6

def initialize(service_id)
  super("Circuit open for service: #{service_id}")
end