From 1171c549526ba9eaa070f7d02431748f12fddf9d Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Tue, 16 May 2023 00:07:58 +0200 Subject: feat(node/crypto): Builtin Diffie-Hellman Groups (#19137) Towards #18455 --- ext/node/polyfills/internal/errors.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ext/node/polyfills/internal/errors.ts') diff --git a/ext/node/polyfills/internal/errors.ts b/ext/node/polyfills/internal/errors.ts index 44aba4d16..5e6b9378c 100644 --- a/ext/node/polyfills/internal/errors.ts +++ b/ext/node/polyfills/internal/errors.ts @@ -836,6 +836,15 @@ export class ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY extends NodeError { } } +export class ERR_CRYPTO_UNKNOWN_DH_GROUP extends NodeError { + constructor() { + super( + "ERR_CRYPTO_UNKNOWN_DH_GROUP", + "Unknown DH group", + ); + } +} + export class ERR_CRYPTO_ENGINE_UNKNOWN extends NodeError { constructor(x: string) { super("ERR_CRYPTO_ENGINE_UNKNOWN", `Engine "${x}" was not found`); -- cgit v1.2.3