[♻️] 반환 코드 수정

This commit is contained in:
김선규 2025-03-17 17:59:52 +09:00
parent 0b65855e15
commit cb159397af

View File

@ -47,15 +47,19 @@ public static class APIResponse
return Send("100", msg ?? "입력 값이 유효하지 않습니다.", "");
}
public static APIResponseStatus<string> AccessExpireError(string? msg = null)
{
return Send("101", msg ?? "엑세스 토큰이 유효하지 않습니다.", "");
}
// -- -- -- OUTPUT ERROR -- -- -- //
public static APIResponseStatus<string> NotFoundError(string? msg = null)
{
return Send("200", msg ?? "알맞은 값을 찾을 수 없습니다.", "");
}
public static APIResponseStatus<string> AccessExpireError(string? msg = null)
{
return Send("201", msg ?? "엑세스 토큰이 만료되었습니다.", "");
}
public static APIResponseStatus<string> InternalSeverError(string? msg = null)
{