Skip to content

Commit

Permalink
feat: 예외 상수 메시지 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 8, 2024
1 parent 318f660 commit 611abe1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/com/leets/X/domain/image/exception/ErrorMessage.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.leets.X.domain.image.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ErrorMessage {

S3_UPLOAD_FAIL(500, "이미지 업로드 중 에러가 발생했습니다.");

private final int code;
private final String message;

}

0 comments on commit 611abe1

Please sign in to comment.