Sha256: 1956345b8969b11ffab8045b18631da194c4395b22e9b6b3ec6bb0c132602f9c
Contents?: true
Size: 342 Bytes
Versions: 22
Compression:
Stored size: 342 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.message end true end end end
Version data entries
22 entries across 22 versions & 1 rubygems