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

🐛 throwError 예제 수정 #23

Merged
merged 1 commit into from
Sep 29, 2018
Merged

🐛 throwError 예제 수정 #23

merged 1 commit into from
Sep 29, 2018

Conversation

sculove
Copy link
Owner

@sculove sculove commented Sep 29, 2018

관련 이슈

#16

상세 내역

throwError는 error를 발생한 Observable이기에
에러가 나는 경우에 throwError Observable로 변환하고, of를 이용하여 만든 number의 Observable을 반환한다.
따라서 이를 데이터형태로 받기 위해 mergeMap을 통해 Observable in Observable 형태를 Observable 형태로 변환한다.

@myalin 관련 내역 참조하세요.

@sculove sculove self-assigned this Sep 29, 2018
@sculove sculove merged commit 12bce10 into master Sep 29, 2018
@sculove sculove deleted the fix/throwError branch September 29, 2018 12:49
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.

1 participant