(text: string)
| 6 | format?: { oneline: boolean }, |
| 7 | ): string { |
| 8 | const truncate = (text: string) => |
| 9 | format?.oneline ? truncateMultilineText(text) : text; |
| 10 | |
| 11 | if (error instanceof ZodError) { |
| 12 | const formattedError = z.prettifyError(error); |
no test coverage detected