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

Function createCommandCanceledError

src/utils/exec.ts:549–556  ·  view source on GitHub ↗
(executable: string, cmd: string, args: string[])

Source from the content-addressed store, hash-verified

547}
548
549function createCommandCanceledError(executable: string, cmd: string, args: string[]): AppError {
550 return new AppError('COMMAND_FAILED', 'request canceled', {
551 cmd,
552 args,
553 executable,
554 reason: 'request_canceled',
555 });
556}
557
558function createTimeoutError(
559 executable: string,

Callers 2

spawnRejectionErrorFunction · 0.85
commandCloseFailureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected