Skip to content

Commit

Permalink
RAC-136 fix : 응답 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Nov 11, 2023
1 parent f9376ae commit d02f14e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.postgraduate.domain.auth.exception;

import static com.postgraduate.domain.auth.presentation.contant.AuthResponseCode.AUTH_NONE;
import static com.postgraduate.domain.auth.presentation.contant.AuthResponseCode.AUTH_DENIED;
import static com.postgraduate.domain.auth.presentation.contant.AuthResponseMessage.PERMISSION_DENIED;


public class PermissionDeniedException extends AuthException {

public PermissionDeniedException() {
super(PERMISSION_DENIED.getMessage(), AUTH_NONE.getCode());
super(PERMISSION_DENIED.getMessage(), AUTH_DENIED.getCode());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ public enum AuthResponseCode {
AUTH_CREATE("AU202"),
AUTH_DELETE("AU203"),
AUTH_ALREADY("AU204"),
AUTH_NONE("AU205"),

AUTH_NONE("EX900"),
AUTH_DENIED("EX900"),
AUTH_INVALID_KAKAO("EX901"),
AUTH_KAKAO_CODE("EX902");
private final String code;
Expand Down

0 comments on commit d02f14e

Please sign in to comment.