You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
It is quite difficult to handle exception case when it is occured. Naturally it is expected to have http status error from response but http status code is always OK(200) despite it returns error result.
I can easily detect error by checking http status code and deserialize json result according to status code. Otherwise it is very ugly to handle success and error response in the code.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It is quite difficult to handle exception case when it is occured. Naturally it is expected to have http status error from response but http status code is always OK(200) despite it returns error result.
I can easily detect error by checking http status code and deserialize json result according to status code. Otherwise it is very ugly to handle success and error response in the code.
The text was updated successfully, but these errors were encountered: