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

61 서버 api요청 시 에러 처리 #70

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

jjoonleo
Copy link
Contributor

요약

  • [feat: create ResponseFailure enum]
  • [feat: create ErrorHandler mixin]
  • [feat: apply ErrorHandler mixin to ProjectRepository]
  • [fix: change remoteDataSource to rethrow DioException]

이슈 번호

작업 내용

  • repository의 예외처리를 ErrorHandler mixin을 사용해서 한 번에 관리할 수 있도록 했습니다.

  • ResponseFailure enum을 만들어 에러 코드별 기본 에러 메시지를 관리 할 수 있도록 했습니다.

  • 고민해볼 사항이 있다면 적어주세요

@jjoonleo jjoonleo linked an issue Mar 17, 2024 that may be closed by this pull request
@jjoonleo jjoonleo self-assigned this Mar 17, 2024
Copy link

Visit the preview URL for this PR (updated for commit 203ba4f):

https://taskweaver-front--pr70-61-api-sdw6o4c4.web.app

(expires Sun, 24 Mar 2024 06:51:16 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 37daec54a48dbfe281302dc48a4e028c965a31c2

@brownglasses brownglasses merged commit 91d256b into main Mar 24, 2024
4 checks passed
@jjoonleo jjoonleo deleted the 61-서버-api요청-시-에러-처리 branch April 6, 2024 11:16
@jjoonleo jjoonleo restored the 61-서버-api요청-시-에러-처리 branch April 6, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

서버 API요청 시 에러 처리
2 participants