Exception: Regexp::Scanner::ValidationError
- Inherits:
-
Parser::Error
- Object
- StandardError
- Parser::Error
- Regexp::Scanner::ValidationError
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
Base for all scanner validation errors
Direct Known Subclasses
InvalidBackrefError, InvalidGroupError, InvalidGroupOption, InvalidSequenceError, UnknownPosixClassError, UnknownUnicodePropertyError
Instance Method Summary collapse
-
#initialize(reason) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(reason) ⇒ ValidationError
Returns a new instance of ValidationError.
19 20 21 |
# File 'lib/regexp_parser/scanner.rb', line 19 def initialize(reason) super reason end |