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.
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
onErrorproperty, which is similar toonResultStatsand allows the developer to use JSX to either write a simple message or to offer a more advanced component.