Exception: GoogleMapsService::Error::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleMapsService::Error::BaseError
- Defined in:
- lib/google_maps_service/errors.rb
Overview
Base error, capable of wrapping another
Direct Known Subclasses
ApiError, ClientError, RedirectError, ServerError, UnknownError
Instance Attribute Summary collapse
-
#response ⇒ Hurley::Response
readonly
HTTP response object.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ BaseError
constructor
Initialize error.
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
#response ⇒ Hurley::Response (readonly)
HTTP response object
8 9 10 |
# File 'lib/google_maps_service/errors.rb', line 8 def response @response end |