summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/errors.ts
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-03-07 19:28:46 +0530
committerGitHub <noreply@github.com>2024-03-07 19:28:46 +0530
commit588dd5e66961999cfafd4504444e685629a92173 (patch)
tree1e64ad6f88e4d77f6d12d2e09f8b038563844b24 /ext/node/polyfills/internal/errors.ts
parent0fb67ce43ea828db17fefc8df0ef8ec30b1a25c3 (diff)
fix(ext/node): http2.createServer (#22708)
Diffstat (limited to 'ext/node/polyfills/internal/errors.ts')
-rw-r--r--ext/node/polyfills/internal/errors.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal/errors.ts b/ext/node/polyfills/internal/errors.ts
index 5d5946d46..5a6446ae8 100644
--- a/ext/node/polyfills/internal/errors.ts
+++ b/ext/node/polyfills/internal/errors.ts
@@ -2248,6 +2248,16 @@ export class ERR_FALSY_VALUE_REJECTION extends NodeError {
this.reason = reason;
}
}
+
+export class ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS extends NodeError {
+ constructor() {
+ super(
+ "ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS",
+ "Number of custom settings exceeds MAX_ADDITIONAL_SETTINGS",
+ );
+ }
+}
+
export class ERR_HTTP2_INVALID_SETTING_VALUE extends NodeRangeError {
actual: unknown;
min?: number;