Sha256: 99b495f8940da625737f45df38d94d9fd845af4b55df02920a94432cecdd9b05

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

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