class CloudClient::Error
######################################################################### The Error Class represents a generic error in the Cloud Client library. It contains a readable representation of the error. #########################################################################
Attributes
code[R]
message[R]
Public Class Methods
new(message=nil, code="500")
click to toggle source
message
a description of the error
# File lib/cloud/CloudClient.rb, line 149 def initialize(message=nil, code="500") @message=message @code=code end
Public Instance Methods
to_s()
click to toggle source
# File lib/cloud/CloudClient.rb, line 154 def to_s() @message end