Skip to content

Commit

Permalink
feat(#2) : 게시판 에러 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jae-doo committed May 14, 2024
1 parent 3a95c89 commit 7494ffe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public enum ErrorCode {
MEMBER_NOT_FOUND(HttpStatus.NOT_FOUND, "존재하지 않는 회원입니다."),
LOGIN_FAIL(HttpStatus.UNAUTHORIZED,"아이디 또는 비밀번호가 잘못 되었습니다."),
ANONYMOUS_USER(HttpStatus.UNAUTHORIZED,"인증되지 않는 사용자입니다. 로그인을 진행해 주세요"),
REQUEST_METHOD_NOT_ALLOW(HttpStatus.METHOD_NOT_ALLOWED,"올바르지 않는 http method 입니다.");
REQUEST_METHOD_NOT_ALLOW(HttpStatus.METHOD_NOT_ALLOWED,"올바르지 않는 http method 입니다."),
BOARD_NOT_FOUND(HttpStatus.NOT_FOUND, "존재하지 않는 공지사항입니다.");

private final HttpStatus httpstatus;
private final String message;
Expand Down

0 comments on commit 7494ffe

Please sign in to comment.