MCPcopy
hub / github.com/diego3g/rocketredis / Errors

Interface Errors

src/utils/getValidationErrors.ts:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ValidationError } from 'yup'
2
3interface Errors {
4 [key: string]: string
5}
6
7export default function getValidationErrors(err: ValidationError): Errors {
8 const validationErrors: Errors = {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected