Basically our scenario is like this: the document file is fetched from external API (this happens in IFileStorage.ReadFileAsync). There could be error or exception from this fetching. So we would like to render our custom message and view, instead of rendering GroupDoc Viewer view.
Please advise if this can be done.
At the moment the client app handles all the unsuccessful responses and shows a modal with the error message that comes in response. Even if you return redirect it will be handled but you won’t be redirected. We’ll consider implementing error handling in a such way so the users can manage the client app behavior.