Exception: Hiq::WordsTooLongError
- Inherits:
-
WordLengthError
- Object
- StandardError
- WordLengthError
- Hiq::WordsTooLongError
- 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_message ⇒ Object
31 32 33 |
# File 'lib/hiq/exceptions.rb', line 31 def 'Words provided exceed 22 syllables - haiku needs to be 22 syllables long' end |