Exception: Regexp::Scanner::InvalidBackrefError
- Inherits:
-
ValidationError
- Object
- StandardError
- ValidationError
- Regexp::Scanner::InvalidBackrefError
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
Invalid back reference. Used for name a number refs/calls.
Instance Method Summary collapse
-
#initialize(what, reason) ⇒ InvalidBackrefError
constructor
A new instance of InvalidBackrefError.
Constructor Details
#initialize(what, reason) ⇒ InvalidBackrefError
Returns a new instance of InvalidBackrefError.
1587 1588 1589 |
# File 'lib/regexp_parser/scanner.rb', line 1587 def initialize(what, reason) super "Invalid back reference #{what}, #{reason}" end |