summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/errors.ts
diff options
context:
space:
mode:
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 38573e150..5d5946d46 100644
--- a/ext/node/polyfills/internal/errors.ts
+++ b/ext/node/polyfills/internal/errors.ts
@@ -2543,6 +2543,15 @@ export class ERR_OS_NO_HOMEDIR extends NodeSystemError {
}
}
+export class ERR_HTTP_SOCKET_ASSIGNED extends NodeError {
+ constructor() {
+ super(
+ "ERR_HTTP_SOCKET_ASSIGNED",
+ `ServerResponse has an already assigned socket`,
+ );
+ }
+}
+
interface UvExceptionContext {
syscall: string;
path?: string;