Exception: Poefy::RegexError

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) ⇒ RegexError

Returns a new instance of RegexError.



63
64
65
# File 'lib/poefy/exceptions.rb', line 63

def initialize short_message = msg
  super short_message
end

Instance Method Details

#msgObject



60
61
62
# File 'lib/poefy/exceptions.rb', line 60

def msg
  "Regular expression input is not valid"
end