Skip to content

Commit

Permalink
feat: ErrorCode 추가 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Aug 3, 2023
1 parent e62e849 commit 69b4719
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/project/mapdagu/error/ErrorCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public enum ErrorCode {
TOKEN_NOT_EXIST(NOT_FOUND, "토큰이 존재하지 않습니다."),
INVALID_TOKEN(UNAUTHORIZED, "잘못된 토큰입니다."),

MEMBER_NOT_FOUND(NOT_FOUND, "해당 회원을 찾을 수 없습니다"),

ALREADY_EXIST_EMAIL(BAD_REQUEST, "이미 존재하는 이메일입니다."),
ALREADY_EXIST_USERNAME(BAD_REQUEST, "이미 존재하는 사용자 이름입니다.");

Expand Down

0 comments on commit 69b4719

Please sign in to comment.