Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ onError
Function
onError
packages/vite/src/client/client.ts:485–488 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
483
close()
484
}
485
function
onError() {
486
resolve(false)
487
close()
488
}
489
function
close() {
490
socket.removeEventListener(
'open'
, onOpen)
491
socket.removeEventListener(
'error'
, onError)
Callers
nothing calls this directly
Calls
2
close
Function · 0.70
resolve
Function · 0.50
Tested by
no test coverage detected