Skip to content

WebSocket 连接超时时抛出的错误

Extends ​

  • Error

Constructors ​

Constructor ​

new WebSocketConnectTimeoutError(url, timeout): WebSocketConnectTimeoutError

Parameters ​

url ​

string

timeout ​

number

Returns ​

WebSocketConnectTimeoutError

Overrides ​

Error.constructor

Released under the MIT License with love.