Exception: Hiq::WordsTooLongError

Inherits:
WordLengthError show all
Defined in:
lib/hiq/exceptions.rb

Overview

Exception for when too many syllables are provided by the user

Instance Method Summary collapse

Instance Method Details

#failure_messageObject



31
32
33
# File 'lib/hiq/exceptions.rb', line 31

def failure_message
  'Words provided exceed 22 syllables - haiku needs to be 22 syllables long'
end