UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

12 lines (11 loc) 620 B
/** * EACCES and EPERM are the two errnos that mean the operating system refused * us, rather than that nothing was there or nothing was listening. What they * call for differs by what was being opened -- a socket owned by another user, * a sandbox denying a bind, a settings file the agent harness protects -- but * they share the property that retrying cannot change the answer. * * Deliberately import-free: the plugin worker entry point and the daemon client * both reach this, and neither can afford to pull a module graph in for it. */ export declare function isPermissionDenied(error: unknown): boolean;