[에러패널] 901 서버 에러 추가
This commit is contained in:
@@ -176,7 +176,7 @@ export const TAxios = (
|
||||
return;
|
||||
}
|
||||
|
||||
// 장애 발생
|
||||
// 900 장애 발생
|
||||
if (res?.data?.retCode === 900) {
|
||||
dispatch(
|
||||
pushPanel({
|
||||
@@ -185,6 +185,15 @@ export const TAxios = (
|
||||
);
|
||||
return;
|
||||
}
|
||||
// 901 서버 에러 발생
|
||||
if (res?.data?.retCode === 901) {
|
||||
dispatch(
|
||||
pushPanel({
|
||||
name: Config.panel_names.ERROR_PANEL,
|
||||
})
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (onSuccess) onSuccess(res);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user