We've successfully implemented the SfPdfViewer in our webassembly project. We would like to know how we can override the default error handling behaviour.
It's possible that the backend can not load the requested document or that an unexpected error occurred on the backend itself. Currently the PDF Viewer will show a default window stating `Web-service is not listening. PDF Viewer depends on web-service for all it's features. Please start the web service to continue.` We would like to change this behaviour and not show this message, but instead show a message of ourselves and act accordingly.
I was able to hook into the `AjaxRequestFailed`, but this does not seem to provide a way to stop the default behaviour.