Exception: SwissMatch::LoadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/swissmatch/loaderror.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (LoadError) initialize(message, data)

Returns a new instance of LoadError



13
14
15
16
# File 'lib/swissmatch/loaderror.rb', line 13

def initialize(message, data)
  super(message)
  @data = data
end

Instance Attribute Details

- (Object) data (readonly)

Returns the value of attribute data



11
12
13
# File 'lib/swissmatch/loaderror.rb', line 11

def data
  @data
end