feat(exports): export datagram handler types and align tests with updated nftables and route security APIs

This commit is contained in:
2026-04-30 09:05:24 +00:00
parent e806f7257f
commit 2933ee5257
14 changed files with 622 additions and 684 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ export function loadTestCertificates(): TestCertificates {
key: privateKey
});
} catch (error) {
throw new Error(`Invalid certificates: ${error.message}`);
const message = error instanceof Error ? error.message : String(error);
throw new Error(`Invalid certificates: ${message}`);
}
return {