MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isMcpRequestTimeout

Function isMcpRequestTimeout

packages/plugins/mcp/src/sdk/plugin.ts:1442–1446  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

1440 * code `REQUEST_TIMEOUT`. Matched structurally: the SDK is loaded
1441 * dynamically, so its error class is not importable here. */
1442 const isMcpRequestTimeout = (cause: unknown): boolean =>
1443 typeof cause === "object" &&
1444 cause !== null &&
1445 "code" in cause &&
1446 (cause as { readonly code: unknown }).code === "REQUEST_TIMEOUT";
1447
1448 /** Ask a Codex plugin whether macOS will actually let it work.
1449 *

Callers 1

checkCodexPluginAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected