Bo
Aarktype
•Created by Bo on 3/27/2025 in #questions
How to use reject correctly?
Hi I want to validate input file in a form. It can be either a single file or an array of files, if it is a single file then validate its maximum size, if it is an array of files then validate their total size.
I want a custom message, actual.
With this code I get an exception.
19 replies
Aarktype
•Created by Bo on 3/18/2025 in #questions
Easy format errors like in Zod?
Hi, I can't find any errors formatting like in zod. https://zod.dev/ERROR_HANDLING?id=formatting-errors.
I'm doing it manually now, maybe I'm missing something?)
23 replies