Is there a way to catch errors, specially for the sortby, other refinements doesn’t seem to throw errors when you mistype, but also doesn’t return any errors? Since it stops the code, and if you have a loading animation the loading keeps showing and doesn’t stop, so you want to stop the loading and show a custom message instead.
The error event doesn’t seem to cover this.
Example when a wrong url is typed, or something can’t be found (typo in url):
instantsearch.js-app (gives error, and doesn’t go into any function)
instantsearch.js-app (no error, keeps going)