Exception: Regexp::Scanner::InvalidGroupOption

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

Overview

Invalid groupOption. Used for inline options. TODO: should become InvalidGroupOptionError in v3.0.0 for consistency

Instance Method Summary collapse

Constructor Details

#initialize(option, text) ⇒ InvalidGroupOption

Returns a new instance of InvalidGroupOption.



48
49
50
# File 'lib/regexp_parser/scanner.rb', line 48

def initialize(option, text)
  super "Invalid group option #{option} in #{text}"
end