UNPKG

formoose

Version:

Schema-based run time validation engine, made to integrate back and front-end validations using Mongoose like schemas.

9 lines 288 B
import { ErrorCodes } from '@/custom-errors'; export interface CustomError { message: string; name: string; field?: string; translatedMessageKey?: ErrorCodes | string; translatedMessageInterpolators?: Record<string, string>; } //# sourceMappingURL=CustomError.d.ts.map