MCPcopy Index your code
hub / github.com/coder/code-server / handleArgsSocketCatchError

Function handleArgsSocketCatchError

src/node/app.ts:130–134  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

128 * test this logic more easily.
129 */
130export const handleArgsSocketCatchError = (error: any) => {
131 if (!isNodeJSErrnoException(error) || error.code !== "ENOENT") {
132 throw Error(error.message ? error.message : error)
133 }
134}

Callers 2

app.test.tsFile · 0.90
listenFunction · 0.85

Calls 1

isNodeJSErrnoExceptionFunction · 0.90

Tested by

no test coverage detected