This commit is contained in:
Nav
2023-11-18 22:53:20 +00:00
parent 68f1ba35ff
commit 210552de4f
2 changed files with 2 additions and 3 deletions

View File

@@ -49,7 +49,6 @@ namespace Usb
const int libusbStatusCode = ::libusb_open(this->libusbDevice.get(), &deviceHandle);
if (libusbStatusCode < 0) {
// Failed to a device handle from libusb
throw DeviceInitializationFailure(
"Failed to open USB device - error code " + std::to_string(libusbStatusCode) + " returned."
);

View File

@@ -493,8 +493,8 @@ namespace TargetController
if (!this->target->supportsDebugTool(this->debugTool.get())) {
throw Exceptions::InvalidConfig(
"Debug tool (\"" + this->debugTool->getName() + "\") not supported by target (\""
+ targetDescriptor.name + "\")."
"Debug tool \"" + this->debugTool->getName() + "\" is not compatible with target \""
+ targetDescriptor.name + "\"."
);
}