( surfaceId: string, path: string, message: string, )
| 62 | * Create a ClientMessage containing a validation error |
| 63 | */ |
| 64 | export function createValidationErrorMessage( |
| 65 | surfaceId: string, |
| 66 | path: string, |
| 67 | message: string, |
| 68 | ): ClientMessage { |
| 69 | return { |
| 70 | error: createValidationError(surfaceId, path, message), |
| 71 | }; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Create a ClientMessage containing a generic error |
nothing calls this directly
no test coverage detected