Skip to content

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

@thenewguy

Description

@thenewguy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions