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] 예외 구조 설정 #108

Closed
wants to merge 8 commits into from
Closed

[FEAT] 예외 구조 설정 #108

wants to merge 8 commits into from

Conversation

rlajm1203
Copy link
Collaborator

@rlajm1203 rlajm1203 commented Dec 30, 2024

📌 관련 이슈

#105

✨ PR 내용

  • Query , Command , Domain 예외를 각각 정의합니다.

  • QueryException 과 CommandException

    • ErrorCode 와 ErrorMessage 를 가집니다.
  • BusinessException(=DomainException)

    • ErrorMessage만 가집니다.

🤓 리뷰어에게

bellmin added 5 commits December 30, 2024 14:21
- DomainException 과 동일
- 에러코드 가지지 않는다
- 이 예외의 책임을 나타내는 enum
- Command 또는 Query
- Command 를 처리하던 도중 발생한 예외
- Query를 처리하던 도중 발생한 예외
@rlajm1203 rlajm1203 added the feat 기능 개발 label Dec 30, 2024
@rlajm1203 rlajm1203 self-assigned this Dec 30, 2024
- 클래스 이름이 곧 책임을 뜻함
@rlajm1203 rlajm1203 requested a review from inferior3x December 31, 2024 06:03
- ExceptionResponsibility
@inferior3x
Copy link
Collaborator

도메인 예외는 어떻게 에러코드를 관리할지 결정해주세요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants