Skip to content

Commit

Permalink
feat: ErrorCode 추가 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Sep 8, 2023
1 parent d506052 commit 074b4e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/teamA/hicardi/error/ErrorCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ public enum ErrorCode {
ALREADY_LOGOUT_MEMBER(BAD_REQUEST, "이미 로그아웃한 회원입니다"),
ALREADY_EXIST_EMAIL(BAD_REQUEST, "이미 존재하는 이메일입니다."),
ALREADY_EXIST_USERID(BAD_REQUEST, "이미 존재하는 아이디입니다."),
INVALID_FILE_UPLOAD(BAD_REQUEST, "파일 업로드에 실패하였습니다."),
INVALID_TOKEN(UNAUTHORIZED, "잘못된 토큰입니다.");


private final int code;
private final String message;

Expand Down

0 comments on commit 074b4e3

Please sign in to comment.