Exception: Regexp::Scanner::ValidationError

Inherits:
Parser::Error
  • Object
show all
Defined in:
lib/regexp_parser/scanner.rb

Overview

Base for all scanner validation errors

Instance Method Summary collapse

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