Sha256: f16f585a67ae5427294b4d9215c8c1d25a5283a456382890ee2b3d504ee488c6

Contents?: true

Size: 448 Bytes

Versions: 5

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require_relative 'errors/bad_detector_configuration_key_in_comment_error'
require_relative 'errors/bad_detector_in_comment_error'
require_relative 'errors/garbage_detector_configuration_in_comment_error'
require_relative 'errors/incomprehensible_source_error'

module Reek
  # Handles errors by logging to stderr
  class LoggingErrorHandler
    def handle(exception)
      warn exception
      true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reek-4.7.3 lib/reek/logging_error_handler.rb
reek-4.7.2 lib/reek/logging_error_handler.rb
reek-4.7.1 lib/reek/logging_error_handler.rb
reek-4.7.0 lib/reek/logging_error_handler.rb
reek-4.6.2 lib/reek/logging_error_handler.rb