MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / handleError

Function handleError

packages/cli/src/server/portUtils.ts:47–47  ·  view source on GitHub ↗
(err: NodeJS.ErrnoException)

Source from the content-addressed store, hash-verified

45
46 const bindError = await new Promise<NodeJS.ErrnoException | null>((settle) => {
47 const handleError = (err: NodeJS.ErrnoException): void => settle(err);
48 probe.once("error", handleError);
49 probe.listen({ port, host }, () => {
50 probe.removeListener("error", handleError);

Callers

nothing calls this directly

Calls 1

settleFunction · 0.85

Tested by

no test coverage detected