Exception: Regexp::Scanner::InvalidGroupError

Inherits:
ValidationError show all
Defined in:
lib/regexp_parser/scanner.rb

Overview

Invalid group. Used for named groups.

Instance Method Summary collapse

Constructor Details

#initialize(what, reason) ⇒ InvalidGroupError



1617
1618
1619
# File 'lib/regexp_parser/scanner.rb', line 1617

def initialize(what, reason)
  super "Invalid #{what}, #{reason}."
end