Skip to content

Commit 0e46a66

Browse files
Update Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceInfo.cs
Co-authored-by: Copilot <[email protected]>
1 parent 9789d88 commit 0e46a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,15 +294,15 @@ internal static YubiKeyDeviceInfo CreateFromResponseData(Dictionary<int, ReadOnl
294294

295295
if (!data.TryGetValue(TAG_VERSION, out var firmwareVersionBytes))
296296
{
297-
throw new ArgumentException("TODO.");
297+
throw new ArgumentException("Missing TLV field: TAG_VERSION.");
298298
}
299299
if (!data.TryGetValue(TAG_TYPE, out var versionTypeBytes))
300300
{
301-
throw new ArgumentException("TODO.");
301+
throw new ArgumentException("Missing TLV field: TAG_TYPE.");
302302
}
303303
if (!data.TryGetValue(TAG_ITERATION, out var iterationBytes))
304304
{
305-
throw new ArgumentException("TODO.");
305+
throw new ArgumentException("Missing TLV field: TAG_ITERATION.");
306306
}
307307

308308
var qualifierVersion = FirmwareVersion.FromBytes(firmwareVersionBytes.Span);

0 commit comments

Comments
 (0)