Exception: BceHttpException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BceHttpException
- Defined in:
- lib/baidubce/exception.rb
Instance Attribute Summary collapse
-
#http_body ⇒ Object
Returns the value of attribute http_body.
-
#http_code ⇒ Object
Returns the value of attribute http_code.
-
#http_headers ⇒ Object
Returns the value of attribute http_headers.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(http_code, http_headers, http_body, message) ⇒ BceHttpException
constructor
A new instance of BceHttpException.
Constructor Details
#initialize(http_code, http_headers, http_body, message) ⇒ BceHttpException
Returns a new instance of BceHttpException.
27 28 29 30 31 32 |
# File 'lib/baidubce/exception.rb', line 27 def initialize(http_code, http_headers, http_body, ) @http_code = http_code @http_headers = http_headers @http_body = http_body = end |
Instance Attribute Details
#http_body ⇒ Object
Returns the value of attribute http_body.
24 25 26 |
# File 'lib/baidubce/exception.rb', line 24 def http_body @http_body end |
#http_code ⇒ Object
Returns the value of attribute http_code.
22 23 24 |
# File 'lib/baidubce/exception.rb', line 22 def http_code @http_code end |
#http_headers ⇒ Object
Returns the value of attribute http_headers.
23 24 25 |
# File 'lib/baidubce/exception.rb', line 23 def http_headers @http_headers end |
#message ⇒ Object
Returns the value of attribute message.
25 26 27 |
# File 'lib/baidubce/exception.rb', line 25 def end |