Exception: Regexp::Scanner::UnknownPosixClassError
- Inherits:
-
ValidationError
- Object
- StandardError
- Parser::Error
- ScannerError
- ValidationError
- Regexp::Scanner::UnknownPosixClassError
- Defined in:
- lib/regexp_parser/scanner/errors/validation_error.rb
Overview
The POSIX class name was not recognized by the scanner.
Instance Method Summary collapse
-
#initialize(text, _) ⇒ UnknownPosixClassError
constructor
A new instance of UnknownPosixClassError.
Methods inherited from ValidationError
Constructor Details
#initialize(text, _) ⇒ UnknownPosixClassError
Returns a new instance of UnknownPosixClassError.
59 60 61 |
# File 'lib/regexp_parser/scanner/errors/validation_error.rb', line 59 def initialize(text, _) super "Unknown POSIX class #{text}" end |