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

Add way to recognize error is abort from reset() #196

Open
thenewguy opened this issue Aug 7, 2018 · 1 comment
Open

Add way to recognize error is abort from reset() #196

thenewguy opened this issue Aug 7, 2018 · 1 comment

Comments

@thenewguy
Copy link

It would be quite handy to have a way to check if the error in the rest state is for a request aborted by rest.actions.endpointFoo.reset().

Right now the only thing I see is checking the error message == "Application abort request". I am getting flashes of my error overlay checking for errors like this: const showError = !!response.error Is there a better way or is this a valid issue?

@lexich
Copy link
Owner

lexich commented Aug 9, 2018

Hi @thenewguy I think that you use it right way. Not clear but working just now

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

No branches or pull requests

2 participants