diff --git a/src/main/kotlin/roomescape/auth/exception/AuthErrorCode.kt b/src/main/kotlin/roomescape/auth/exception/AuthErrorCode.kt index 6a502945..9ebf8853 100644 --- a/src/main/kotlin/roomescape/auth/exception/AuthErrorCode.kt +++ b/src/main/kotlin/roomescape/auth/exception/AuthErrorCode.kt @@ -8,11 +8,8 @@ enum class AuthErrorCode( override val errorCode: String, override val message: String, ): ErrorCode { - LOGIN_REQUIRED(HttpStatus.UNAUTHORIZED, "A001", "로그인이 필요해요."), - LOGIN_FAILED(HttpStatus.UNAUTHORIZED, "A002", "로그인에 실패했어요."), - TOKEN_NOT_FOUND(HttpStatus.UNAUTHORIZED, "A003", "인증 토큰이 없어요."), - INVALID_TOKEN(HttpStatus.UNAUTHORIZED, "A004", "유효하지 않은 토큰이에요."), - EXPIRED_TOKEN(HttpStatus.UNAUTHORIZED, "A005", "토큰이 만료됐어요."), - USER_NOT_FOUND_FROM_TOKEN(HttpStatus.UNAUTHORIZED, "A006", "토큰으로 회원 정보를 찾을 수 없어요."), - ACCESS_DENIED(HttpStatus.FORBIDDEN, "A007", "접근 권한이 없어요."), + TOKEN_NOT_FOUND(HttpStatus.UNAUTHORIZED, "A001", "인증 토큰이 없어요."), + INVALID_TOKEN(HttpStatus.UNAUTHORIZED, "A002", "유효하지 않은 토큰이에요."), + EXPIRED_TOKEN(HttpStatus.UNAUTHORIZED, "A003", "토큰이 만료됐어요."), + ACCESS_DENIED(HttpStatus.FORBIDDEN, "A004", "접근 권한이 없어요."), }