Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ramram1048 opened this issue Dec 1, 2020 · 0 comments
Open

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

ramram1048 opened this issue Dec 1, 2020 · 0 comments

Comments

@ramram1048
Copy link
Collaborator

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

Originally posted by @crongro in #54 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant