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