Exception: MultiJson::LoadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vendor/multi_json/lib/multi_json.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = '', backtrace = [], data = '') ⇒ LoadError

Returns a new instance of LoadError.


6
7
8
9
10
# File 'lib/vendor/multi_json/lib/multi_json.rb', line 6

def initialize(message='', backtrace=[], data='')
  super(message)
  self.set_backtrace(backtrace)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data


5
6
7
# File 'lib/vendor/multi_json/lib/multi_json.rb', line 5

def data
  @data
end