next-learn
next-learn copied to clipboard
Chapter 13: Error Handling - code that throws is outside of try/catch block in the example
In this section, the calls to parse() should be moved to inside the try block as parse(), unlike safeParse(), will throw on error.