class Geocoder::Lookup::Base
def raise_error(error, message = nil)
Return false if exception not raised.
Raise exception if configuration specifies it should be raised.
#
def raise_error(error, message = nil) exceptions = configuration.always_raise if exceptions == :all or exceptions.include?( error.is_a?(Class) ? error : error.class ) raise error, message else false end end