Skip to content

Commit c007ae4

Browse files
committed
feat: 프로필 이미지 크기 에러코드 추가
1 parent 2f15ed3 commit c007ae4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/com/back/web7_9_codecrete_be/global/error/code/UserErrorCode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public enum UserErrorCode implements ErrorCode {
1818

1919
// 3xx - 입력값 / 파일
2020
INVALID_PROFILE_IMAGE(HttpStatus.BAD_REQUEST, "U-110", "유효하지 않은 프로필 이미지입니다."),
21+
PROFILE_IMAGE_SIZE_EXCEEDED(HttpStatus.BAD_REQUEST, "U-111", "프로필 이미지 크기가 10MB를 초과했습니다."),
2122

2223
// 2xx - 인증 / 비밀번호
2324
INVALID_PASSWORD(HttpStatus.BAD_REQUEST, "U-120", "현재 비밀번호가 일치하지 않습니다.");

0 commit comments

Comments
 (0)