Formats a Zod error into a readable multi-line message.
Optional
Optional Zod error to format.
Empty string when no error is provided, otherwise a formatted issue list.
Formats a Zod error into a readable multi-line message.