Skip to content

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

Open
@budokans

Description

@budokans

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions