Exception: GoogleMaps::GeocodeFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/google_maps/geocoder.rb

Instance Method Summary collapse

Constructor Details

#initialize(location, original_error) ⇒ GeocodeFailed

Returns a new instance of GeocodeFailed.



8
9
10
# File 'lib/google_maps/geocoder.rb', line 8

def initialize(location, original_error)
  super "Failed while geocoding '#{location}': #{original_error.class.name}: #{original_error.message}"
end