Exception: Regexp::Scanner::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Regexp::Scanner::ValidationError
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
Base for all scanner validation errors
Direct Known Subclasses
InvalidBackrefError, InvalidGroupError, InvalidGroupOption, InvalidSequenceError, 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.
1555 1556 1557 |
# File 'lib/regexp_parser/scanner.rb', line 1555 def initialize(reason) super reason end |