Sha256: b5e44abcf4d18a94f9be0cbeb5436f51c5044d3f91cd9ef20558d195f301b409

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

class CircuitBreaker::CircuitBrokenException < StandardError

  def initialize(msg, circuit_state = :closed)
    @circuit_state = circuit_state
    super(msg)
  end

  attr_reader :circuit_state

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
circuit_breaker-1.1.0 lib/circuit_breaker/circuit_broken_exception.rb
circuit_breaker-1.0.1 lib/circuit_breaker/circuit_broken_exception.rb