Exception: MultiJson::DecodeError
- Inherits:
-
StandardError
- Object
- StandardError
- MultiJson::DecodeError
- Defined in:
- lib/json-schema/lib/multi_json/multi_json.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message, backtrace, data) ⇒ DecodeError
constructor
A new instance of DecodeError.
Constructor Details
#initialize(message, backtrace, data) ⇒ DecodeError
Returns a new instance of DecodeError.
4 5 6 7 8 |
# File 'lib/json-schema/lib/multi_json/multi_json.rb', line 4 def initialize(, backtrace, data) super() self.set_backtrace(backtrace) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/json-schema/lib/multi_json/multi_json.rb', line 3 def data @data end |