UNPKG

@hello.nrfcloud.com/proto

Version:

Documents the communication protocol between the hello.nrfcloud.com backend and the web application

7 lines (5 loc) 232 B
import { type ValueError } from '@sinclair/typebox/compiler' export const formatTypeBoxErrors = (errors: ValueError[]): string => errors .map(({ path, message }) => `${path.length === 0 ? '/' : path}: ${message}`) .join(', ')