( code: string, message: string, details?: Record<string, unknown>, )
| 50 | }; |
| 51 | |
| 52 | export 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 | |
| 63 | export async function captureMaestroSnapshot(params: { |
| 64 | baseReq: ReplayBaseRequest; |
no outgoing calls
no test coverage detected
searching dependent graphs…