dominikcz
dominikcz
Aarktype
Created by dominikcz on 4/3/2025 in #questions
customizing error messages
Hi, I'm just trying this library and so far looks very promising. I cannot, however, find anywhere if it is possible to have different error messages for different validators (for a single field)? For example in Zod I could do sth like this: z.array().min(2, 'choose at least 2').max(3, 'choose no more than 3') Is there an equivalent in ArkType?
3 replies