Error thrown when I try to console log a ZodError
# Postmortem: Error Thrown When Logging ZodError in TypeScript ## Summary An attempt to log Zod validation errors using `console.log(error)` unexpectedly throws an error instead of printing diagnostic information. This occurs because `ZodError` contains circular references via its `.issues` array, causing JSON serialization to fail during console output. ## Root Cause – **Circular references in … Read more