Class: JSONSEQ::Reader::ParsingError
- Inherits:
-
Object
- Object
- JSONSEQ::Reader::ParsingError
- Defined in:
- lib/jsonseq/reader.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source:, exception:) ⇒ ParsingError
constructor
A new instance of ParsingError.
Constructor Details
#initialize(source:, exception:) ⇒ ParsingError
20 21 22 23 |
# File 'lib/jsonseq/reader.rb', line 20 def initialize(source:, exception:) @source = source @exception = exception end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
18 19 20 |
# File 'lib/jsonseq/reader.rb', line 18 def exception @exception end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
17 18 19 |
# File 'lib/jsonseq/reader.rb', line 17 def source @source end |