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

에러 핸들링 샘플코드 공유 #19

Closed
wants to merge 3 commits into from
Closed

에러 핸들링 샘플코드 공유 #19

wants to merge 3 commits into from

Conversation

ManHyuk
Copy link
Collaborator

@ManHyuk ManHyuk commented Dec 2, 2023

📒 Issue

#17

🎯 어떤 작업을 했는지

📜 자세한 설명

회의때 잠깐 이야기 나누었던 controller advice 가 아닌 exception 을 값으로 처리하는 방법에 대해서
이해를 돕기위한 코드를 작성해봤는데요

핵심은 Either을 사용하는것입니다 ㅎㅎ....

한번 코드 보시고 잘 이해 안되는 부분이 있으면 코멘트 남겨주세요~!

🌍 영향범위 (모듈)


Resolves: # See also: #

@ManHyuk ManHyuk self-assigned this Dec 2, 2023
@egg528
Copy link
Member

egg528 commented Dec 3, 2023

Either 찾아보려고 블로그 글 찾고 있는데 예시에 manhyuk가 나와 혹시나 했는데 ㅋㅋㅋ
만혁님 글이군요. Maybe에 비해 left, right에 오류와 값을 모두 가질 수 있어 오류일 경우에도 값 참조가 가능하다는 장점이 있군요 ㅎㅎ

@egg528
Copy link
Member

egg528 commented Dec 3, 2023

이걸 사용하게 된다면 전반적인 코드 구성이 많이 달라질 것 같다는 느낌이 드네요
일단 저는 새로운 내용이라 해보고 싶긴 한데 만혁님의 피드백이 많이 필요할 것 같습니다 ㅎㅎ

@ManHyuk
Copy link
Collaborator Author

ManHyuk commented Dec 3, 2023

이걸 사용하게 된다면 전반적인 코드 구성이 많이 달라질 것 같다는 느낌이 드네요 일단 저는 새로운 내용이라 해보고 싶긴 한데 만혁님의 피드백이 많이 필요할 것 같습니다 ㅎㅎ

모든 코드에 Either를 적용하기엔 너무 부담이 될 수 있을거 같은데요
이 부분은 따로 이야기 나누어보시죠 👍

@ManHyuk ManHyuk closed this Dec 10, 2023
@binary-ho binary-ho deleted the feature/#17 branch March 25, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants