Exception: Libvirt::Exception::LibvirtError
- Inherits:
-
StandardError
- Object
- StandardError
- Libvirt::Exception::LibvirtError
- Defined in:
- lib/libvirt/exception.rb
Overview
Represents an exceptional event within the Libvirt library.
This contains an error readable attribute which, if available,
is a Libvirt::Error object, which contains more details
about the error which occurred.
Instance Attribute Summary (collapse)
-
- (Object) error
readonly
Returns the value of attribute error.
Instance Method Summary (collapse)
-
- (LibvirtError) initialize(error)
constructor
A new instance of LibvirtError.
Constructor Details
- (LibvirtError) initialize(error)
A new instance of LibvirtError
13 14 15 16 |
# File 'lib/libvirt/exception.rb', line 13 def initialize(error) @error = error super(error.) end |
Instance Attribute Details
- (Object) error (readonly)
Returns the value of attribute error
11 12 13 |
# File 'lib/libvirt/exception.rb', line 11 def error @error end |