Exception: GoogleMaps::GeocodeFailed
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleMaps::GeocodeFailed
- Defined in:
- lib/google_maps/geocoder.rb
Instance Method Summary collapse
-
#initialize(location, original_error) ⇒ GeocodeFailed
constructor
A new instance of GeocodeFailed.
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.}" end |