The Error Class represents a generic error in the OpenNebula library. It contains a readable representation of the error. Any function in the OpenNebula module will return an Error object in case of error.
message
Description of the error errno
OpenNebula code error
# File lib/opennebula/error.rb, line 37 def initialize(message=nil, errno=0x1111) @message = message @errno = errno end
# File lib/opennebula/error.rb, line 42 def to_str() @message end