File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/main/java/cmf/commitField/global/error Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,15 @@ public enum ErrorCode {
3737 //chatroom
3838 NOT_FOUND_ROOM (HttpStatus .NOT_FOUND , "μ΄λ―Έ μμ λ λ°©μ΄κ±°λ λ°©μ μ°Ύμ μ μμ΅λλ€." ),
3939 ROOM_USER_FULL (HttpStatus .BAD_REQUEST , "λ°©μ μ¬μ©μκ° λ€ μ°¨ μμ΅λλ€." ),
40- NONE_ROOM (HttpStatus .NOT_FOUND , "νμ¬ λ°©μ΄ μμ΅λλ€." ),
4140 CHAT_ERROR (HttpStatus .INTERNAL_SERVER_ERROR , "μ±ν
μ μ‘μ μ€λ₯κ° μμ΅λλ€." ),
42- NOT_ROOM_CREATOR (HttpStatus .FORBIDDEN , "λ°© μμ±μκ° μλλλ€." );
41+ NO_ROOM_FOUND (HttpStatus .NOT_FOUND , "μ±ν
λ°©μ΄ μμ΅λλ€." ),
42+
43+ //user_chatroom
44+ NONE_ROOM (HttpStatus .NOT_FOUND , "μ¬μ©μκ° λ€μ΄κ° μλ λ°©μ΄ μμ΅λλ€." ),
45+ NOT_ROOM_CREATOR (HttpStatus .FORBIDDEN , "λ°© μμ±μκ° μλλλ€." ),
46+ USER_CREATED_ROOM_NOT_FOUND (HttpStatus .NOT_FOUND , "μ¬μ©μκ° μμ±ν λ°©μ΄ μμ΅λλ€." ),
47+ ALREADY_JOIN_ROOM (HttpStatus .BAD_REQUEST , "μ¬μ©μλ μ΄λ―Έ ν΄λΉ λ°©μ μ°Έμ¬νκ³ μμ΅λλ€." ),
48+ NOT_EXIST_CLIENT (HttpStatus .NOT_FOUND , "μ±ν
λ°©μ μ¬μ©μκ° μ‘΄μ¬νμ§ μμ΅λλ€." );
4349
4450 private final HttpStatus httpStatus ;
4551 private final String message ;
You canβt perform that action at this time.
0 commit comments