feat(exports): export datagram handler types and align tests with updated nftables and route security APIs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user