
Sys::Virt::Error - error object for libvirt APIs

The Sys::Virt::Error class provides an encoding of the libvirt errors.
Instances of this object can be thrown by pretty much any of the Sys::Virt APIs.

Convert the object into string format suitable for printing on a console to inform a user of the error.
Return the raw error code represented by this error.
Return the error domain raising this error.
Return an informative message describing the error condition.

The error domain indicates which internal part of libvirt the error report was raised from.
Configuration file handling
Error while operating on a domain
Domain configuration handling
LXC virtualization driver
Error while operating on a network
Network configuration handling
Node device configuration handling
No specific error domain.
OpenVZ virtualization driver
Xen proxy virtualization driver
QEMU virtualization driver
Remote client virtualization driver
XML-RPC handling code
Security services driver
SEXPR parsing code
Device statistics code
Storage configuration handling
Test virtualization driver
UML virtualization driver
Xen hypervisor driver
XenD daemon driver
XenStore driver
Xen XM configuration file driver
Xen Inotify events driver
Low level XML parser
The error codes allow for specific problems to be identified and handled separately from generic error handling.
Authentication falure when connecting to a driver
Operation not supported by driver (DEPRECATED & unused)
Configuration file syntax error
The domain already exists
Too many hypervisor drivers have been registered
HTTP GET command failed talking to XenD
GNUTLS encryption error in RPC driver
Unexpected HTTP error code from XenD
Generic internal error
Invalid argument supplied to function
Invalid connection object
Invalid domain object
Invalid MAC address string
Invalid network object
Invalid node device object
Invalid storage pool object
Invalid storage vol object
Network with this name/uuid already exists
Unable to connect to requested hypervisor driver
Missing device information
No such domain with that name/uuid/id
Missing kernel information in domain configuration
Missing memory information in domain configuration
Missing name in object configuration
No such network with that name/uuid
No such node device with that name
Missing OS information in domain configuration
Missing root device information in domain configuration
Missing security model information in domain configuratio
Missing source device information in domain configuration
No such storage pool with that name/uuid
No such storage volume with that name/path/key
This operation is not supported by the active driver
Missing target device information in domain configuration
Unable to connect to Xen hypervisor
Unable to connect to XenStorage daemon
No error code. This should never be see
Unable to open a configuration file
The operation is forbidden for the current connection
The operation failed to complete
Missing/incorrect OS type in domain configuration
Failed to parse configuration file
HTTP POST failure talking to XenD
Unable to read from configuration file
Generic RPC error talking to XenD
Failed to generic SEXPR for XenD
Generic operating system error
Unknown hostname
Failed to write to configuration file
Failure while talking to Xen hypervisor
Detailed XML parsing error
Generic XML parsing error
Warning that no network driver is activated
Warning that no node device driver is activated
Warning that no storage driver is activated
Invalid network interface object
No interface with the matching name / mac address
The requested operation is not valid for the current object state
The network interface driver is not available

Daniel P. Berrange <berrange@redhat.com>

Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange

This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file.
