We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73fff72 commit c879252Copy full SHA for c879252
1 file changed
src/main/java/com/back/web7_9_codecrete_be/global/error/code/PostErrorCode.java
@@ -40,6 +40,13 @@ public enum PostErrorCode implements ErrorCode {
40
HttpStatus.BAD_REQUEST,
41
"P-130",
42
"이미 삭제된 게시글입니다."
43
+ ),
44
+
45
+ // 검색 관련
46
+ KEYWORD_IS_NULL(
47
+ HttpStatus.BAD_REQUEST,
48
+ "P-140",
49
+ "검색어는 필수입니다."
50
);
51
52
private final HttpStatus status;
0 commit comments