Class: Fog::CloudSigma::Errors::Error
- Inherits:
-
Errors::Error
- Object
- Errors::Error
- Fog::CloudSigma::Errors::Error
- Defined in:
- lib/fog/cloudsigma/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_point ⇒ Object
Returns the value of attribute error_point.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type = 'n/a', error_point = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, type = 'n/a', error_point = nil) ⇒ Error
Returns a new instance of Error.
7 8 9 10 11 |
# File 'lib/fog/cloudsigma/error.rb', line 7 def initialize(, type='n/a', error_point=nil) @type = type @error_point = error_point super() end |
Instance Attribute Details
#error_point ⇒ Object
Returns the value of attribute error_point.
5 6 7 |
# File 'lib/fog/cloudsigma/error.rb', line 5 def error_point @error_point end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/fog/cloudsigma/error.rb', line 5 def type @type end |