Skip to content

Commit

Permalink
Merge pull request #39 from WE-ARE-RACCOONS/RAC-124
Browse files Browse the repository at this point in the history
RAC-124 fix : 응닡 μ½”λ“œ μˆ˜μ •
  • Loading branch information
ywj9811 authored Nov 11, 2023
2 parents 3156dd0 + c55e6bd commit 25b6809
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 25b6809

Please sign in to comment.