Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>WebSocketError

A modern runtime for JavaScript and TypeScript.
Latest
variable WebSocketError
allow-net
import { WebSocketError } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.unstable.d.ts";

UNSTABLE: New API, yet to be vetted.

type

{ readonly prototype: WebSocketError; new (message?: string, init?: WebSocketCloseInfo): WebSocketError; }