Exception: Picasa::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- Picasa::ResponseError
- Defined in:
- lib/picasa/exceptions.rb
Direct Known Subclasses
BadRequestError, ForbiddenError, NotFoundError, PreconditionFailedError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message, response) ⇒ ResponseError
Returns a new instance of ResponseError.
14 15 16 17 |
# File 'lib/picasa/exceptions.rb', line 14 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
12 13 14 |
# File 'lib/picasa/exceptions.rb', line 12 def response @response end |