Exception: RightScale::CloudApi::HttpError
- Inherits:
-
CloudError
- Object
- StandardError
- Error
- CloudError
- RightScale::CloudApi::HttpError
- Defined in:
- lib/base/manager.rb
Overview
HTTP Error
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(code, message) ⇒ HttpError
Returns a new instance of HttpError.
47 48 49 50 |
# File 'lib/base/manager.rb', line 47 def initialize(code, ) @code = code.to_s super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
45 46 47 |
# File 'lib/base/manager.rb', line 45 def code @code end |