Exception: LIT::Parser::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- LIT::Parser::ParseError
- Defined in:
- lib/lit/parser/errors.rb
Overview
Instance Attribute Summary collapse
- #data ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(data:, message:) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(data:, message:) ⇒ ParseError
Returns a new instance of ParseError.
10 11 12 13 14 |
# File 'lib/lit/parser/errors.rb', line 10 def initialize(data:, message:) @data = data super() end |
Instance Attribute Details
#data ⇒ Object (readonly)
8 9 10 |
# File 'lib/lit/parser/errors.rb', line 8 def data @data end |