MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / isWindowsTransientRemoveError

Function isWindowsTransientRemoveError

packages/simdeck-test/src/index.ts:794–800  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

792}
793
794function isWindowsTransientRemoveError(error: unknown): boolean {
795 if (!error || typeof error !== "object") {
796 return false;
797 }
798 const code = (error as NodeJS.ErrnoException).code;
799 return code === "EBUSY" || code === "ENOTEMPTY" || code === "EPERM";
800}
801
802async function waitForHealth(
803 endpoint: string,

Callers 1

removeIsolatedRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected