Sha256: e7c8abb796a60ff892d5736079f778a5d4fb5fe06d83e57b35feddb75df53340

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

class CircuitBreaker::CircuitBrokenException < StandardError

  def initialize(msg = nil, 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.2 lib/circuit_breaker/circuit_broken_exception.rb
circuit_breaker-1.1.1 lib/circuit_breaker/circuit_broken_exception.rb