Skip to content

$href action - request for error callback #353

@hanyg

Description

@hanyg

Hello,

I am using the $href action on the main view of my application. While testing with network connectivity off I noticed that href does not support an error callback if it can't reach the URL. In my case, I just want a simple way of handling the connectivity issue by displaying an alert or something similar. What actually happens is my customized error.json is brought into view. So, my application is not crashing, but it would be preferable to explicitly handle it vs. a global error handler.

Would an error callback on an $href action be something that could be easily added?

Thanks,
Hany

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions