Class: CloudClient::Error
- Inherits:
-
Object
- Object
- CloudClient::Error
- Defined in:
- lib/CloudClient.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
messagea description of the error. - #to_s ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ Error
message a description of the error
97 98 99 |
# File 'lib/CloudClient.rb', line 97 def initialize(=nil) @message= end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
94 95 96 |
# File 'lib/CloudClient.rb', line 94 def @message end |
Instance Method Details
#to_s ⇒ Object
101 102 103 |
# File 'lib/CloudClient.rb', line 101 def to_s() @message end |