next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Chapter 13: Error Handling - code that throws is outside of try/catch block in the example

Open budokans opened this issue 10 months ago • 0 comments

In this section, the calls to parse() should be moved to inside the try block as parse(), unlike safeParse(), will throw on error.

budokans avatar Jan 27 '25 15:01 budokans