Exception: LIT::Parser::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lit/parser/errors.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data:, message:) ⇒ ParseError

Returns a new instance of ParseError.

Since:

  • 0.1.0



10
11
12
13
14
# File 'lib/lit/parser/errors.rb', line 10

def initialize(data:, message:)
  @data = data

  super(message)
end

Instance Attribute Details

#dataObject (readonly)

Since:

  • 0.1.0



8
9
10
# File 'lib/lit/parser/errors.rb', line 8

def data
  @data
end