lexich/redux-api

Add way to recognize error is abort from reset()

thenewguy opened this issue · 1 comments

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?

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