Exception: Regexp::Scanner::InvalidGroupOption
- Inherits:
 - 
      ValidationError
      
        
- Object
 - StandardError
 - Parser::Error
 - ScannerError
 - ValidationError
 - Regexp::Scanner::InvalidGroupOption
 
 
- Defined in:
 - lib/regexp_parser/scanner/errors/validation_error.rb
 
Overview
Invalid groupOption. Used for inline options. TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
Instance Method Summary collapse
- 
  
    
      #initialize(option, text)  ⇒ InvalidGroupOption 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of InvalidGroupOption.
 
Methods inherited from ValidationError
Constructor Details
#initialize(option, text) ⇒ InvalidGroupOption
Returns a new instance of InvalidGroupOption.
      38 39 40  | 
    
      # File 'lib/regexp_parser/scanner/errors/validation_error.rb', line 38 def initialize(option, text) super "Invalid group option #{option} in #{text}" end  |