Exception: Regexp::Scanner::InvalidSequenceError
- Inherits:
- 
      ValidationError
      
        - Object
- StandardError
- ValidationError
- Regexp::Scanner::InvalidSequenceError
 
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
Invalid sequence format. Used for escape sequences, mainly.
Instance Method Summary collapse
- 
  
    
      #initialize(what = 'sequence', where = '')  ⇒ InvalidSequenceError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InvalidSequenceError. 
Constructor Details
#initialize(what = 'sequence', where = '') ⇒ InvalidSequenceError
Returns a new instance of InvalidSequenceError.
| 31 32 33 | # File 'lib/regexp_parser/scanner.rb', line 31 def initialize(what = 'sequence', where = '') super "Invalid #{what} at #{where}" end |