Exception: Aliyun::OSS::ResponseError
- Inherits:
-
OSSException
- Object
- StandardError
- OSSException
- Aliyun::OSS::ResponseError
- Defined in:
- lib/aliyun/oss/exceptions.rb
Overview
All responses with a code between 300 and 599 that contain an
Direct Known Subclasses
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.
16 17 18 19 |
# File 'lib/aliyun/oss/exceptions.rb', line 16 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
15 16 17 |
# File 'lib/aliyun/oss/exceptions.rb', line 15 def response @response end |