Sha256: bf646ad0590c97f5eac3f4fc1f84273473e17588c6721e9a919af0e76148a3ca
Contents?: true
Size: 334 Bytes
Versions: 12
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true require_relative 'errors/base_error' module Reek # Handles errors by logging to stderr class LoggingErrorHandler def handle(exception) case exception when Errors::BaseError warn exception.long_message else warn exception end true end end end
Version data entries
12 entries across 10 versions & 2 rubygems