Class: CloudClient::Error

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ Error

message a description of the error



97
98
99
# File 'lib/CloudClient.rb', line 97

def initialize(message=nil)
    @message=message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



94
95
96
# File 'lib/CloudClient.rb', line 94

def message
  @message
end

Instance Method Details

#to_sObject



101
102
103
# File 'lib/CloudClient.rb', line 101

def to_s()
    @message
end