Exception: CheckerJobs::DuplicateCheckerName

Inherits:
Error
  • Object
show all
Defined in:
lib/checker_jobs/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(checker_name) ⇒ DuplicateCheckerName

Returns a new instance of DuplicateCheckerName.



31
32
33
34
# File 'lib/checker_jobs/errors.rb', line 31

def initialize(checker_name)
  @checker_name = checker_name
  super
end

Instance Method Details

#messageObject



36
37
38
# File 'lib/checker_jobs/errors.rb', line 36

def message
  "CheckerJobs: the name '#{checker_name}' is already used for another checker."
end