Exception: Rjq::JSON::StreamParser::StreamError
- Inherits:
-
StandardError
- Object
- StandardError
- Rjq::JSON::StreamParser::StreamError
- Defined in:
- lib/rjq/json/stream_parser.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(message:, path:) ⇒ StreamError
constructor
A new instance of StreamError.
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() end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
10 11 12 |
# File 'lib/rjq/json/stream_parser.rb', line 10 def path @path end |