valibot.flatten
https://valibot.dev/api/flatten/
https://valibot.dev/guides/issues/
issuesからエラーメッセージを取り出せて便利
code:ts
try {
v.parse(ObjectSchema, { nested: {} }); // Throws an error
} catch (error) {
console.log(v.flatten<typeof ObjectSchema>(error));
}