code: def get_error(self):
          
          err_str = hidapi.hid_error(self._device)
          if err_str == ffi.NULL:
              return None
          else:
              return ffi.string(err_str)
docs: Get an error string from the device