Exception: Regexp::Scanner::ValidationError

Inherits:
StandardError
  • 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.



17
18
19
# File 'lib/regexp_parser/scanner.rb', line 17

def initialize(reason)
  super reason
end