MCPcopy Create free account
hub / github.com/astercloud/aster / createValidationErrorMessage

Function createValidationErrorMessage

ui/src/protocol/client-message.ts:64–72  ·  view source on GitHub ↗
(
  surfaceId: string,
  path: string,
  message: string,
)

Source from the content-addressed store, hash-verified

62 * Create a ClientMessage containing a validation error
63 */
64export 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

Callers

nothing calls this directly

Calls 1

createValidationErrorFunction · 0.90

Tested by

no test coverage detected