MCPcopy Index your code
hub / github.com/callstack/agent-device / createMissingToolError

Function createMissingToolError

src/utils/exec.ts:522–524  ·  view source on GitHub ↗
(executable: string, cmd: string, cause: Error)

Source from the content-addressed store, hash-verified

520}
521
522function createMissingToolError(executable: string, cmd: string, cause: Error): AppError {
523 return new AppError('TOOL_MISSING', `${executable} not found in PATH`, { cmd }, cause);
524}
525
526function createCommandFailedError(
527 executable: string,

Callers 2

runCmdSyncFunction · 0.85
createSpawnErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected