Exception: GoogleMapsService::Error::BaseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/google_maps_service/errors.rb

Overview

Base error, capable of wrapping another

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response = nil) ⇒ BaseError

Initialize error



13
14
15
# File 'lib/google_maps_service/errors.rb', line 13

def initialize(response = nil)
  @response = response
end

Instance Attribute Details

#responseHurley::Response (readonly)

HTTP response object



8
9
10
# File 'lib/google_maps_service/errors.rb', line 8

def response
  @response
end