-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Improve the error message in the slices #555
Conversation
Coverage remained the same at 82.095% when pulling 0af373cb755fdb377fc795ae4d962e12974fa9d2 on x4base:slice_error_msg into cb384d0 on airbnb:master. |
I like the idea of improving the error messages but we should allow for both custom message and this introspection of the web response. What about |
Do you mean something like this?
, then
|
Yeah that looks right. |
Coverage decreased (-0.2%) to 81.856% when pulling d5fca084397e61fe0fded8039715b497abf80807 on x4base:slice_error_msg into cb384d0 on airbnb:master. |
I have updated the branch |
Let slice.error() accept msg and xhr
Updated again to solve the conflict |
* feat: add function to wrap api calls * feat: add function to wrap api calls with returned type * fix: remove deprecated * fix: rename * test: add unit test * test: add unit tests
* feat: add function to wrap api calls * feat: add function to wrap api calls with returned type * fix: remove deprecated * fix: rename * test: add unit test * test: add unit tests
* feat: add function to wrap api calls * feat: add function to wrap api calls with returned type * fix: remove deprecated * fix: rename * test: add unit test * test: add unit tests
* feat: add function to wrap api calls * feat: add function to wrap api calls with returned type * fix: remove deprecated * fix: rename * test: add unit test * test: add unit tests
No description provided.