WebTransportError

interface

interface WebTransportError extends DOMException

MDN Reference

variable

var WebTransportError: { … }

The constructor object for WebTransportError, used to construct an error describing a failure of a WebTransport session or one of its streams.

Constructors

constructor

new WebTransportError(message?: string, options?: WebTransportErrorOptions): WebTransportError

Properties

source

readonly source: WebTransportErrorSource

MDN Reference

streamErrorCode

readonly streamErrorCode: number | null

MDN Reference

prototype

prototype: WebTransportError