Exception: HP::Cloud::Exceptions::Base
- Inherits:
-
Exception
- Object
- Exception
- HP::Cloud::Exceptions::Base
- Defined in:
- lib/hpcloud/exceptions/base.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status = :general_error) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(message, status = :general_error) ⇒ Base
Returns a new instance of Base.
28 29 30 31 |
# File 'lib/hpcloud/exceptions/base.rb', line 28 def initialize(, status = :general_error) super() @status = status end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
26 27 28 |
# File 'lib/hpcloud/exceptions/base.rb', line 26 def status @status end |