Get the last libvirt error

libvirt_get_inactive_domain_count
libvirt_list_active_domains
Libvirt Functions
PHP Manual

# libvirt_get_last_error

(php-libvirt 0.1)

libvirt_get_last_error — Get the last libvirt error

### Description

string libvirt_get_last_error ( void )

Returns the last error produced by libvirt library. Does not reset it so you can read the same error multiple times. TODO: maybe would be better to reset the error.

### Return Values

String with last libvirt error

libvirt_get_inactive_domain_count
libvirt_list_active_domains
Libvirt Functions
PHP Manual