Exception: Poefy::SyllableError

Inherits:
InputError show all
Defined in:
lib/poefy/exceptions.rb

Instance Method Summary collapse

Methods inherited from Error

#console_msg

Constructor Details

#initialize(short_message = msg) ⇒ SyllableError

Returns a new instance of SyllableError.



54
55
56
# File 'lib/poefy/exceptions.rb', line 54

def initialize short_message = msg
  super short_message
end

Instance Method Details

#msgObject



51
52
53
# File 'lib/poefy/exceptions.rb', line 51

def msg
  "Syllable input is not valid"
end