( code: string, surfaceId: string, message: string, details?: Record<string, unknown>, )
| 75 | * Create a ClientMessage containing a generic error |
| 76 | */ |
| 77 | export function createGenericErrorMessage( |
| 78 | code: string, |
| 79 | surfaceId: string, |
| 80 | message: string, |
| 81 | details?: Record<string, unknown>, |
| 82 | ): ClientMessage { |
| 83 | return { |
| 84 | error: createGenericError(code, surfaceId, message, details), |
| 85 | }; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Resolve action context by replacing path references with actual values |
nothing calls this directly
no test coverage detected