Sha256: 276f0591536fbdf335174d0687a1bb584a6948a139e7d24954a23727bafa1d48

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

module DispatchRider
  module Logging
    class Translator
      class FailTranslator < BaseTranslator
        def initialize(message, exception:)
          super(message)
          @exception = exception
        end

        def translate
          exception_info_fragment(@message, @exception)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/dispatch-rider/logging/translator/fail_translator.rb
dispatch-rider-2.0.0 lib/dispatch-rider/logging/translator/fail_translator.rb