Exception: Hiq::WordTooLongError

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

Overview

Exception for when one of the words is too long to fit into haiku

Instance Method Summary collapse

Instance Method Details

#failure_messageObject



17
18
19
# File 'lib/hiq/exceptions.rb', line 17

def failure_message
  'At least one of the words provided exceeds 7 syllables - haiku with such word is impossible'
end