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

[feat] error handling #221

Closed
5 tasks
smosco opened this issue Nov 6, 2024 · 0 comments · Fixed by #330
Closed
5 tasks

[feat] error handling #221

smosco opened this issue Nov 6, 2024 · 0 comments · Fixed by #330
Assignees

Comments

@smosco
Copy link
Collaborator

smosco commented Nov 6, 2024

이슈 설명

이슈에 대한 간략한 설명을 적어주세요 (버그, 기능 추가, 개선 사항 등)

작업 상세 내용

  • api 요청 에러 처리
    • 토스트 알림(put, post, delete) 요청 성공실패
    • fetch에 실패하면 어떻게 보여주는 게 좋을지
  • 에러 바운더리
  • 커스텀 에러 코드에 맞게 리다이렉트
    • 포인트가 부족한데 디테일 페이지 들어갈 때
    • 로그인 없이 포인트가 필요한 콘텐츠 열람하려고 할 때 로그인 페이지로 이동(주소창 이동의 경우)
    • 퀴즈 해당 콘텐츠 퀴즈 모두 정답(404 커스텀 에러)
  • 404 페이지(잘못된 경로)-> 404가 아니라 현재 페이지로 리다이렉트 또는 홈 페이지로 리다이렉트?
  • 서버 에러 처리

참고 자료 (선택)

관련 문서나 링크가 있다면 첨부해주세요

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