Sha256: 72bf24a3f9a937604d9179035795d2226a6f300d9301389b4d942f0651551f6a
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true class Circuitbox class OpenCircuitError < Circuitbox::Error attr_reader :service def initialize(service) super() @service = service end def to_s "#{self.class}: Service #{service.inspect} has an open circuit" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
circuitbox-2.0.0 | lib/circuitbox/errors/open_circuit_error.rb |
circuitbox-2.0.0.pre5 | lib/circuitbox/errors/open_circuit_error.rb |