Add exception handling for invalid key interpretation in PDT.

This commit is contained in:
2023-02-09 12:21:41 +08:00
parent c4d5e5f480
commit 16b1d323dc

View File

@@ -233,6 +233,8 @@ namespace Cryville.Common.Pdt {
break;
case '}':
return result;
default:
throw new InvalidOperationException("Internal error: Invalid key interpretation");
}
}
}