class SwissMatch::LoadError

Used to indicate an error while loading the swissmatch data.

Attributes

data[R]

Data associated with the error

Public Class Methods

new(message, data) click to toggle source

@param [String] message

Same as Exception#initialize, the message of the exception

@param [Object] data

Arbitrary data
Calls superclass method
# File lib/swissmatch/loaderror.rb, line 21
def initialize(message, data)
  super(message)
  @data = data
end