Skip to content

Commit

Permalink
feat/#507: NOT_FOUND_REFRESHTOKEN 에러 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 authored and hwangdaesun committed Oct 9, 2024
1 parent 8111ffc commit 4bafb3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
@AllArgsConstructor
public enum AuthError implements BaseError {
PASSWORD_MISMATCH(400, "5003", "비밀번호가 일치하지 않습니다."),
MEMBER_NOT_CHECKED(400, "5004", "해당 회원은 이메일 검증이 완료되지 않았습니다.");
MEMBER_NOT_CHECKED(400, "5004", "해당 회원은 이메일 검증이 완료되지 않았습니다."),
NOT_FOUND_REFRESHTOKEN(400, "5005", "리프레시 토큰이 존재하지 않습니다.")
;

private final Integer status;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.gaebaljip.exceed.common.exception.auth;

import com.gaebaljip.exceed.common.exception.EatCeedException;

public class NotFoundRefreshTokenException extends EatCeedException {

public static EatCeedException EXECPTION = new NotFoundRefreshTokenException();

public NotFoundRefreshTokenException() {
super(AuthError.NOT_FOUND_REFRESHTOKEN);
}
}

0 comments on commit 4bafb3b

Please sign in to comment.