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

검색결과가 없는 경우에 대한 예외 처리 #21

Open
JinJuMoon opened this issue Jun 12, 2020 · 2 comments
Open

검색결과가 없는 경우에 대한 예외 처리 #21

JinJuMoon opened this issue Jun 12, 2020 · 2 comments
Labels
exception exception

Comments

@JinJuMoon
Copy link
Collaborator

No description provided.

@ksy90101 ksy90101 added the exception exception label Jun 12, 2020
@ksy90101
Copy link
Collaborator

이 부분에서 백엔드에서 빈 리스트를 가져올때 프론트에서 예외처리를 해야 할지, 아니면 백엔드에서 빈 리스트일 경우에 예외를 처리해야 할지, 둘다 처리를 해야할지를 고민해봐야 할거 같습니다!

@ksy90101
Copy link
Collaborator

난 서버에서도 예외처리 해주는게 낫지않나라는생각
프론트에서 빈리스트를 받았을 때 어떤 처리를 하는것보다
결과값이 없다는 exception을 받고 처리를 하는게 더 명시적이지 않을까?
back이랑 front 개발자가 다르면 그런 부분이 더 필요하지 않을까… 라고 생각합니덩
로그인할때 회원정보 없을때도 처리해주듯이?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exception exception
Projects
None yet
Development

No branches or pull requests

2 participants