Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue-506/리팩터링] Feign 관련 예외 처리 클래스 common 모듈로 추출 #507

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package com.liberty52.auth.global.adapter.cloud.error;

import com.liberty52.auth.global.exception.external.internalservererror.InternalServerErrorException;
import com.liberty52.common.feign.error.Feign4xxException;
import com.liberty52.common.feign.error.Feign5xxException;
import com.liberty52.common.feign.error.FeignClientException;
import com.liberty52.common.feign.error.FeignUnauthorizedException;
import feign.Response;
import feign.codec.ErrorDecoder;
import lombok.extern.slf4j.Slf4j;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.auth.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

public class Feign4xxException extends FeignClientException {
public Feign4xxException() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.auth.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

public class Feign5xxException extends FeignClientException {
public Feign5xxException() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.main.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

import com.liberty52.common.exception.external.ErrorCode;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.main.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

import com.liberty52.common.exception.external.ErrorCode;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.auth.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

import com.liberty52.common.exception.external.ErrorResponse;
import jakarta.servlet.http.HttpServletRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.liberty52.main.global.adapter.cloud.error;
package com.liberty52.common.feign.error;

public class FeignUnauthorizedException extends FeignClientException {
public FeignUnauthorizedException() {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.liberty52.main.global.adapter.cloud.error;

import com.liberty52.common.feign.error.Feign4xxException;
import com.liberty52.common.feign.error.Feign5xxException;
import com.liberty52.common.feign.error.FeignClientException;
import com.liberty52.common.feign.error.FeignUnauthorizedException;
import com.liberty52.main.global.exception.external.internalservererror.InternalServerErrorException;
import feign.Response;
import feign.codec.ErrorDecoder;
Expand Down

This file was deleted.

Loading