Exception: Rjq::JSON::StreamParser::StreamError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rjq/json/stream_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:, path:) ⇒ StreamError

Returns a new instance of StreamError.



12
13
14
15
# File 'lib/rjq/json/stream_parser.rb', line 12

def initialize(message:, path:)
  @path = path
  super(message)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



10
11
12
# File 'lib/rjq/json/stream_parser.rb', line 10

def path
  @path
end