class OpenNebula::Error
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.
Constants
- EACTION
- EALLOCATE
- EAUTHENTICATION
- EAUTHORIZATION
- EINTERNAL
- ENOTDEFINED
- ENO_EXISTS
- ESUCCESS
- EXML_RPC_API
- EXML_RPC_CALL
Attributes
Public Class Methods
Source
# File lib/opennebula/error.rb, line 40 def initialize(message=nil, errno=0x1111) @message = message @errno = errno end
message
Description of the error errno
OpenNebula
code error
Public Instance Methods
Source
# File lib/opennebula/error.rb, line 51 def is_exml_rpc_call?() @errno == EXML_RPC_CALL end