Functions

source_error_quark ()

strerror (error_code)

version_string ()

Details

GUsb.source_error_quark()
Returns:

Our personal error quark.

Return type:

int

New in version 0.1.0.

GUsb.strerror(error_code)
Parameters:

error_code (int) – a libusb error code

Returns:

String, or None

Return type:

str

Converts the error code into a string

New in version 0.1.0.

GUsb.version_string()
Returns:

a version number, e.g. “0.3.1”

Return type:

str

Gets the GUsb installed runtime version.

New in version 0.3.1.