MCPcopy Create free account
hub / github.com/callstack/agent-device / errorResponse

Function errorResponse

src/compat/maestro/runtime-support.ts:52–61  ·  view source on GitHub ↗
(
  code: string,
  message: string,
  details?: Record<string, unknown>,
)

Source from the content-addressed store, hash-verified

50};
51
52export function errorResponse(
53 code: string,
54 message: string,
55 details?: Record<string, unknown>,
56): FailedDaemonResponse {
57 return {
58 ok: false,
59 error: { code, message, ...(details ? { details } : {}) },
60 };
61}
62
63export async function captureMaestroSnapshot(params: {
64 baseReq: ReplayBaseRequest;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…