cloudbase / PyMI

A blazing fast replacement for the Python WMI module
Apache License 2.0
21 stars 14 forks source link

Adds wmi x_wmi_not_found Exception #16

Closed claudiubelu closed 8 years ago

claudiubelu commented 8 years ago

Adds the x_wmi_not_found WMI exception.

If an element was not found, the mi error raised will have the mi_result = 6. When wrapping mi errors into wmi exceptions, raises x_wmi_not_found exception if mi_result is 6.

Raises x_wmi_not_found exception if the given element was not found.