diff options
author | Levente Kurusa <lkurusa@kernelstuff.org> | 2023-05-16 00:07:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 00:07:58 +0200 |
commit | 1171c549526ba9eaa070f7d02431748f12fddf9d (patch) | |
tree | b9bc177129e7a88bbefeb6801e696937153f7e94 /ext/node/polyfills/internal/errors.ts | |
parent | 3356173d00486ffda99f3907de97489ac79c70dd (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.ts | 9 |
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`); |