summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/errors.ts
diff options
context:
space:
mode:
authorLevente Kurusa <lkurusa@kernelstuff.org>2023-05-16 00:07:58 +0200
committerGitHub <noreply@github.com>2023-05-16 00:07:58 +0200
commit1171c549526ba9eaa070f7d02431748f12fddf9d (patch)
treeb9bc177129e7a88bbefeb6801e696937153f7e94 /ext/node/polyfills/internal/errors.ts
parent3356173d00486ffda99f3907de97489ac79c70dd (diff)
feat(node/crypto): Builtin Diffie-Hellman Groups (#19137)
Towards #18455
Diffstat (limited to 'ext/node/polyfills/internal/errors.ts')
-rw-r--r--ext/node/polyfills/internal/errors.ts9
1 files changed, 9 insertions, 0 deletions
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`);