Exception: Regexp::Parser::UnknownTokenError
- Inherits:
-
ParserError
- Object
- StandardError
- Error
- ParserError
- Regexp::Parser::UnknownTokenError
- Defined in:
- lib/regexp_parser/parser.rb
Instance Method Summary collapse
-
#initialize(type, token) ⇒ UnknownTokenError
constructor
A new instance of UnknownTokenError.
Constructor Details
#initialize(type, token) ⇒ UnknownTokenError
Returns a new instance of UnknownTokenError.
16 17 18 |
# File 'lib/regexp_parser/parser.rb', line 16 def initialize(type, token) super "Unknown #{type} token #{token.token}" end |