Exception: Senec::Cloud::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Senec::Cloud::Error
- Defined in:
- lib/senec/cloud/error.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, status) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/senec/cloud/error.rb', line 6 def initialize(, status) super() @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/senec/cloud/error.rb', line 4 def status @status end |