Exception: Hiq::WordTooLongError
- Inherits:
-
WordLengthError
- Object
- StandardError
- WordLengthError
- Hiq::WordTooLongError
- 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_message ⇒ Object
17 18 19 |
# File 'lib/hiq/exceptions.rb', line 17 def 'At least one of the words provided exceeds 7 syllables - haiku with such word is impossible' end |