Use the libusb call to pull out the error code.