Exception: Regexp::Scanner::InvalidGroupError
- Inherits:
 - 
      ValidationError
      
        
- Object
 - StandardError
 - Parser::Error
 - ScannerError
 - ValidationError
 - Regexp::Scanner::InvalidGroupError
 
 
- Defined in:
 - lib/regexp_parser/scanner/errors/validation_error.rb
 
Overview
Invalid group. Used for named groups.
Instance Method Summary collapse
- 
  
    
      #initialize(what, reason)  ⇒ InvalidGroupError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of InvalidGroupError.
 
Methods inherited from ValidationError
Constructor Details
#initialize(what, reason) ⇒ InvalidGroupError
Returns a new instance of InvalidGroupError.
      30 31 32  | 
    
      # File 'lib/regexp_parser/scanner/errors/validation_error.rb', line 30 def initialize(what, reason) super "Invalid #{what}, #{reason}." end  |