1Sys::Virt::Error(3)   User Contributed Perl Documentation  Sys::Virt::Error(3)
2
3
4

NAME

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

DESCRIPTION

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

METHODS

14       $err->stringify
15           Convert the object into string format suitable for printing on a
16           console to inform a user of the error.
17
18       my $code = $err->code
19           Return the raw error code represented by this error.
20
21       my $msg = $err->message
22           Return an informative message describing the error condition.
23

AUTHORS

25       Daniel P. Berrange <berrange@redhat.com>
26
28       Copyright (C) 2006 Red Hat
29
30       Sys::Virt is distributed under the terms of the GPLv2 or later.
31

SEE ALSO

33       Sys::Virt::Domain, Sys::Virt, "http://libvirt.org"
34
35
36
37perl v5.8.8                       2007-04-17               Sys::Virt::Error(3)
Impressum