Class: CloudClient::Error
- Inherits:
-
Object
- Object
- CloudClient::Error
- Defined in:
- lib/deltacloud/drivers/opennebula/cloud_client.rb
Overview
######################################################################### The Error Class represents a generic error in the Cloud Client library. It contains a readable representation of the error. #########################################################################
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ Error
constructor
message
a description of the error. - #to_s ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ Error
message
a description of the error
92 93 94 |
# File 'lib/deltacloud/drivers/opennebula/cloud_client.rb', line 92 def initialize(=nil) @message= end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
89 90 91 |
# File 'lib/deltacloud/drivers/opennebula/cloud_client.rb', line 89 def @message end |
Instance Method Details
#to_s ⇒ Object
96 97 98 |
# File 'lib/deltacloud/drivers/opennebula/cloud_client.rb', line 96 def to_s() @message end |