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

Function createCommandFailedError

src/utils/exec.ts:526–533  ·  view source on GitHub ↗
(
  executable: string,
  cmd: string,
  args: string[],
  cause: Error,
)

Source from the content-addressed store, hash-verified

524}
525
526function createCommandFailedError(
527 executable: string,
528 cmd: string,
529 args: string[],
530 cause: Error,
531): AppError {
532 return new AppError('COMMAND_FAILED', `Failed to run ${executable}`, { cmd, args }, cause);
533}
534
535function createStdinError(
536 executable: string,

Callers 2

runCmdSyncFunction · 0.85
createSpawnErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected