next-safe-action Validation Errors Two Sources of Validation Errors 1. Schema validation — automatic when input doesn't match 2. Manual validation — via in server code (e.g., "email already taken") Both produce the same error structure on the client. Default Error Shape (Formatted) Mirrors the schema structure with arrays at each level: returnValidationErrors Throws a that the framework catches and returns as . It never returns — it always throws. For expected non-validation errors ("out of stock", "not found"), the sibling helper works the same way (throws internally, never returns) but sets…