class Reek::Errors::BadDetectorInCommentError
Gets raised when trying to configure a detector which is unknown to us. This might happen for multiple reasons. The users might have a typo in his comment or he might use a detector that does not exist anymore.
Constants
- UNKNOWN_SMELL_DETECTOR_MESSAGE
Public Class Methods
Source
# File lib/reek/errors/bad_detector_in_comment_error.rb, line 28 def initialize(detector_name:, source:, line:, original_comment:) message = format(UNKNOWN_SMELL_DETECTOR_MESSAGE, detector: detector_name, source: source, line: line, comment: original_comment) super(message) end
Calls superclass method