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

Chore#1: 라이브러리 추가 및 기본 응답/에러 클래스 생성 #2

Merged
merged 4 commits into from
Oct 6, 2024

Conversation

yeonjookang
Copy link
Contributor

@yeonjookang yeonjookang commented Oct 5, 2024

Resolves #1

Issue Define

  • 라이브러리 추가
  • 기본 응답 클래스 생성
  • 기본 에러 클래스 생성
  • application.yml 생성
    • 노션>백엔드>공용 자료에 적어두었습니다.

Summary of resolutions or improvements

Note

기본 응답 클래스와 에러 클래스 사용 과정은 다음과 같습니다.

  • 기본 응답 클래스
    • 사용(BaseResponse 호출)
      image
    • 응답 결과
      image
  • 기본 에러 클래스
    • 사용(도메인 Exception 생성)
      image
    • 사용(도메인 ExceptionErrorCode 생성)
      image
    • 사용(도메인 ExceptionHandler 생성)
      image
    • 사용(Exception 발생)
      image
    • 응답 결과
      image

@yeonjookang yeonjookang requested a review from pkl0912 as a code owner October 5, 2024 14:55
@yeonjookang yeonjookang self-assigned this Oct 5, 2024
@yeonjookang yeonjookang merged commit 1d32f56 into dev Oct 6, 2024
1 check passed
@yeonjookang yeonjookang deleted the chore/1-add-library-and-base-class branch October 6, 2024 14:41
@yeonjookang yeonjookang added the chore 기능과 관련 없는 수정 label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore 기능과 관련 없는 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chore: 외부 라이브러리 추가 및 기본 응답/에러 클래스 생성
1 participant