in pci_lib/pci_lib.py [0:0]
def get_debugging_details(self):
"""
Get a set of errors we encountered while trying to request information
about the device until this point, as well as the used config space.
"""
with closing(PCIConfigSpace.get(self.device_name)) as config:
return (config.encountered_errors(), config.used_config_space())