Skip to content

Conversation

@juxnn
Copy link
Collaborator

@juxnn juxnn commented Jun 25, 2023

연습

@juxnn juxnn requested a review from heozeop June 25, 2023 08:59
public class MemberDetailsReqeustDto {
private String nickname;
private String email;
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

마지막 라인 갱신 필요합니당

Comment on lines +10 to +27
/* 400 BAD_REQUEST : 잘못된 요청 */
ILLEGAL_INPUT_VALUE(HttpStatus.BAD_REQUEST,"규칙에 어긋난 입력값입니다."),
DUPLICATE_ID_EXIST(HttpStatus.BAD_REQUEST,"이미 존재하는 아이디입니다"),
PASSWORD_MISMATCH(HttpStatus.BAD_REQUEST,"비밀번호가 일치하지 않습니다."),
/* 401 UNAUTHORIZED : 인증되지 않은 사용자 */
INVALID_AUTH_TOKEN(HttpStatus.UNAUTHORIZED, "권한 정보가 없는 토큰입니다."),

INVALID_AUTH_TASK(HttpStatus.NOT_ACCEPTABLE, "로그인 시 사용가능한 기능입니다."),

/* 404 NOT_FOUND : Resource를 찾을 수 없음 */
USER_NOT_FOUND(HttpStatus.NOT_FOUND, "해당하는 정보의 사용자를 찾을 수 없습니다."),

/* 409 : CONFLICT : Resource의 현재 상태와 충돌. 보통 중복된 데이터 존재 */
DUPLICATE_RESOURCE(HttpStatus.CONFLICT, "데이터가 이미 존재합니다."),

NOTE_NOT_FOUND(HttpStatus.NOT_FOUND, "해당하는 정보의 게시글을 찾을 수 없습니다."),

LOCATION_NOT_FOUND(HttpStatus.NOT_FOUND, "위치정보를 찾을 수 없습니다."),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

되게 좋은 거 같아요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants