Skip to content

Commit

Permalink
conflict 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
amm0124 committed Nov 11, 2024
1 parent ca5ca17 commit 74a05a8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/poomasi/global/error/BusinessError.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public enum BusinessError {
// Product
PRODUCT_NOT_FOUND(HttpStatus.NOT_FOUND, "상품을 찾을 수 없습니다."),
PRODUCT_STOCK_ZERO(HttpStatus.BAD_REQUEST, "재고가 없습니다."),
STOCK_QUANTITY_EXCEEDED(HttpStatus.BAD_REQUEST, "장바구나 수량이 남은 재고를 초과하였습니다"),

// Category
CATEGORY_NOT_FOUND(HttpStatus.NOT_FOUND, "카테고리를 찾을 수 없습니다."),
Expand Down Expand Up @@ -94,14 +95,10 @@ public enum BusinessError {








;

private final HttpStatus httpStatus;

private final String message;
}

0 comments on commit 74a05a8

Please sign in to comment.