Sha256: d1ef9076a4e1c9b4c34efb680f1d919b5496e0952f24989992e958ebc7de2bc8
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true require_relative 'base_error' module Reek module Errors # Gets raised when Reek is unable to process the source class ParseError < BaseError MESSAGE_TEMPLATE = '%s: %s: %s'.freeze def initialize(origin:, original_exception:) message = format(MESSAGE_TEMPLATE, origin, original_exception.class.name, original_exception.message) super message end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reek-4.6.1 | lib/reek/errors/parse_error.rb |
reek-4.6.0 | lib/reek/errors/parse_error.rb |