Skip to content

Commit

Permalink
#256 Feat: 예외 코드 수정 및 읽기 권한 예외 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-haeseung committed Nov 1, 2024
1 parent 8e3c447 commit 2bd1e0f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ public enum ErrorStatus implements BaseErrorCode {
// 코멘트 관련 에러 4000
COMMENT_NOT_FOUND(HttpStatus.BAD_REQUEST, "COMMENT_4005", "댓글이 없습니다."),
COMMENT_CREATE_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4006", "댓글 생성 권한이 없습니다."),
COMMENT_UPDATE_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4006", "댓글 수정 권한이 없습니다."),
COMMENT_DELETE_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4006", "댓글 삭제 권한이 없습니다."),
COMMENT_UPDATE_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4007", "댓글 수정 권한이 없습니다."),
COMMENT_DELETE_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4008", "댓글 삭제 권한이 없습니다."),
COMMENT_READ_UNAUTHORIZED(HttpStatus.BAD_REQUEST, "COMMENT_4009", "댓글 읽기 권한이 없습니다."),


// 북마크 관련 에러 6000
Expand Down

0 comments on commit 2bd1e0f

Please sign in to comment.