class LittleWeasel::Errors::DictionaryFileTooLargeError
This class describes an error when a the dictionary file is too large.
Public Class Methods
new(msg: nil)
click to toggle source
Calls superclass method
# File lib/LittleWeasel/errors/dictionary_file_too_large_error.rb, line 7 def initialize(msg: nil) unless msg.present? msg = 'The dictionary file size is larger than ' \ "max_dictionary_file_megabytes: #{LittleWeasel.configuration.max_dictionary_file_megabytes}" end super msg end