Skip to content

Feature: Add Support For Error Messages In Result Components #322

Description

@davidklebanoff

Issue Type:
enhancement

Description:
Very similar to #321. Add a property to Result Components to allow easy display of error messages during error conditions. Error conditions, in my mind, are anything that is preventing search results from showing. This includes any issues with the ElasticSearch server such as 4xx and 5xx errors, or perhaps the service is down, or maybe perhaps ReactiveSearch itself is erroring.

My initial thought is to add a onError property, which is similar to onResultStats and allows the developer to use JSX to either write a simple message or to offer a more advanced component.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions