Skip to content

Fetch 에러처리를 try/catch 형식으로 변경 #74

@ramram1048

Description

@ramram1048

에러처리를 하려면 try/catch 로 비동기 로직을 감싸거나, Promise.catch 를 사용해서 해보시죠.
그러면 더 코드가 명시적으로 에러를 어떻게 만드는지 구분해서 표현하는 것이라 좋기도하고요.

Originally posted by @crongro in #54 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions